]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: list accepts absolute dev names
authorLoic Dachary <ldachary@redhat.com>
Tue, 5 Jan 2016 16:33:45 +0000 (17:33 +0100)
committerLoic Dachary <ldachary@redhat.com>
Wed, 6 Jan 2016 10:13:16 +0000 (11:13 +0100)
commit591d581c84cfd72d7c655ac88b0911a318b96e95
tree7f044dec0c34ae3eb4d02d0616d01e10c83709bf
parent756b8e60152311cfc7229acf1715874f35f7f98e
ceph-disk: list accepts absolute dev names

The ceph-disk list subcommand now accepts /dev/sda as well as sda.
The filtering is done on the full list of devices instead of restricting
the number of devices explored. Always obtaining the full list of
devices makes things simpler when trying to match a dmcrypted device to
the corresponding raw device.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/ceph-disk
src/test/python/ceph-disk/tests/test_ceph_disk.py