OSDN Git Service

blockdev: Implement change with basic operations
authorMax Reitz <mreitz@redhat.com>
Mon, 26 Oct 2015 20:39:13 +0000 (21:39 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 11 Nov 2015 15:22:47 +0000 (16:22 +0100)
commitde2c6c0536c5c5ebb6e0ce7dcfd8fa9476edab52
tree3fcf14100a5fd3dc8e3088ebddce6cb7641737dc
parent38f54bd1ee0ed0f13b7326eb79403e320c3a28d3
blockdev: Implement change with basic operations

Implement 'change' on block devices by calling blockdev-open-tray,
blockdev-remove-medium, blockdev-insert-medium (a variation of that
which does not need a node-name) and blockdev-close-tray.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c