diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-blockdevices-filesystems.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 4708c3b..f8d6e6c 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -203,6 +203,9 @@ findpartitions() { for devpath in $(finddisks) do disk=$(echo $devpath | sed 's|.*/||') + echo -n "/dev/$disk$3" + [ "$1" = 1 ] && echo || echo -n ' ' + [ "$2" ] && echo $2 cd /sys/block/$disk for part in $disk* do |