]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-disk/main.py: Replace ST_ISBLK() test by is_diskdevice()
authorWillem Jan Withagen <wjw@digiware.nl>
Thu, 6 Jul 2017 08:40:23 +0000 (10:40 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 14 Jul 2017 08:48:34 +0000 (10:48 +0200)
commit85d7f8817e94d7dbf81e20394c6778ecb677079c
tree2156b3acc7391596159939fefb52829254ff26eb
parent5268573359815f54bd34e7d42e8d569f3a5bd704
ceph-disk/main.py: Replace ST_ISBLK() test by is_diskdevice()

 - FreeBSD does not have blockdevices any more (since 2002)
   So disk are just Character special devices, so test on ISCHR

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/ceph-disk/ceph_disk/main.py