Function introduced for blockdev commands.