diff options
| author | Peter Schiffer <pschiffe@redhat.com> | 2013-11-15 15:01:04 +0100 |
|---|---|---|
| committer | Peter Schiffer <pschiffe@redhat.com> | 2013-11-18 14:25:32 +0100 |
| commit | de7e807310e00883ae39c59cc9cd14a66eaa4586 (patch) | |
| tree | 4d1dffb9efb5d2fb64cb10a083150ed6fef927e7 /src/python/setup.py | |
| parent | 2a6a28e5c8ee57b2adbb431370d6066d01df6719 (diff) | |
Hardware: added lsblk fallback for physical disks
Smartctl doesn't work in virtual machine environment. Lsblk program reads sysfs
filesystem and outputs data about block devices. Advantage in using lsblk
instead of reading sysfs is, that it's not easy to distinguish between cd-roms,
disks, partitions, lvm.. Lsblk is doing some magic when determining the type of
device, so instead of duplicating the code, I'm using it's output. Lsblk is part
of the util-linux package, so no new dependency was introduced.
Diffstat (limited to 'src/python/setup.py')
0 files changed, 0 insertions, 0 deletions
