udisks: Use --block-device in 'info' verb instead of just --device
authorDavid Zeuthen <davidz@redhat.com>
Thu, 16 Sep 2010 17:48:44 +0000 (13:48 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Thu, 16 Sep 2010 17:51:44 +0000 (13:51 -0400)
commit42e0b97845b6231d34975f3dac318b8139f94ab1
tree7af03a1d56ae3f4a1788e9c897e90fe8c7a799bd
parent581128b63e3f26f497cf5d44ac18645e7e219f7a
udisks: Use --block-device in 'info' verb instead of just --device

Later on we probably want other kinds of references such as

 udisks info --block-device /dev/sda
 udisks info --job 042_format_dev_sdb1
 udisks info --enclosure Promise_VTrak_J630SS

so we shouldn't claim the word "device" for block devices files.

Signed-off-by: David Zeuthen <davidz@redhat.com>
tools/udisks.c