From 86ffa132801ca83a3a7ec618c63e4d6de7d5a18a Mon Sep 17 00:00:00 2001 From: "pyther@pyther.net" Date: Sat, 5 Mar 2011 23:10:44 -0500 Subject: Clearify types of devices that find_usable_devices returns Signed-off-by: Dieter Plaetinck --- src/core/libs/lib-blockdevices-filesystems.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-54-g00ecf