diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2011-10-02 22:16:11 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2011-10-02 22:16:11 +0200 |
commit | ecb5cc2be5527e84ae29239ec8fa789c3ee8587e (patch) | |
tree | 4c7c59827ea325c1999daa9160877b764c079756 /backend/modules/partitions | |
parent | 17dd2d0281bf750768bb9820a677806980380c10 (diff) | |
download | acritoxinstaller-ecb5cc2be5527e84ae29239ec8fa789c3ee8587e.zip acritoxinstaller-ecb5cc2be5527e84ae29239ec8fa789c3ee8587e.tar.gz |
use ListItems with formatted size info in frontend
Diffstat (limited to 'backend/modules/partitions')
-rw-r--r-- | backend/modules/partitions | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backend/modules/partitions b/backend/modules/partitions index 211fdba..a64306a 100644 --- a/backend/modules/partitions +++ b/backend/modules/partitions @@ -93,7 +93,7 @@ function partitions_size_details() while read part x do [ -e "$part" ] || continue - echo "$part $(blockdev --getsize64 "$part")" + echo "$part $(blockdev --getsize64 "$part") $x" done } @@ -229,15 +229,15 @@ function list_possible_root_partitions() # Synopsis: send_possible_root_partitions # -# This script sends a list of all possible root-partitions with size-details to the frontend. +# This script sends a list of all possible root-partitions with size- and usage-details to the frontend. # Output example: # <installer data> possible_root_partitions -# /dev/sda4 10001908224 -# /dev/sdb1 64023257088 +# /dev/sda4 10001908224 filesystem ext3 +# /dev/sdb1 64023257088 function send_possible_root_partitions() { send data possible_root_partitions - list_possible_root_partitions | partitions_size_details + list_possible_root_partitions | partitions_usage_details | partitions_size_details } # Synopsis: send_possible_root_filesystems |