[arch-releng] [PATCH] Clearify types of devices that find_usable_devices returns

pyther at pyther.net pyther at pyther.net
Sat Mar 5 23:10:44 EST 2011


---
 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
 
-- 
1.7.4.1



More information about the arch-releng mailing list