diff options
author | pyther@pyther.net <pyther@pyther.net> | 2011-03-05 23:10:44 -0500 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2011-03-06 09:59:06 +0100 |
commit | 86ffa132801ca83a3a7ec618c63e4d6de7d5a18a (patch) | |
tree | ca86e218e4e43eccfab948d9fc6ce20ce01574fb | |
parent | f2348ba05300118b1475441e6f75be3995603c49 (diff) |
Clearify types of devices that find_usable_devices returns
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
-rw-r--r-- | src/core/libs/lib-blockdevices-filesystems.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 5b078a7..cb30a2e 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -244,8 +244,10 @@ finddisks() { } -# find usable blockdevices, both partionable or not (i.e. partitions themselves) -# $1 extra things to echo for each partition (optional) (backslash escapes will get interpreted) +# find usable blockdevices: RAID + LVM volumes, partitioned and unpartitioned devices +# Exclude devices/partitions that are part of a RAID or LVM volume +# Exclude root block devices (ex. sda) that are partitioned +# $1 extra things to echo for each device (optional) (backslash escapes will get interpreted) find_usable_blockdevices() { shopt -s nullglob |