diff options
| author | Andreas Loibl <andreas@andreas-loibl.de> | 2011-03-25 04:19:48 +0100 | 
|---|---|---|
| committer | Andreas Loibl <andreas@andreas-loibl.de> | 2011-03-25 04:19:48 +0100 | 
| commit | f73535dba2c0ac1891da0ab81672d2a490d5d628 (patch) | |
| tree | 76528bb30c59b7496520c6b94b34e8d9d8645bea /backend/modules/hdmap | |
| parent | 9c63b98c194ed54e827e3380057219286963b58c (diff) | |
| download | acritoxinstaller-f73535dba2c0ac1891da0ab81672d2a490d5d628.zip acritoxinstaller-f73535dba2c0ac1891da0ab81672d2a490d5d628.tar.gz  | |
added hdmap- and (initial) devicemapper-support to frontend
Diffstat (limited to 'backend/modules/hdmap')
| -rw-r--r-- | backend/modules/hdmap | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/backend/modules/hdmap b/backend/modules/hdmap index 3056b93..ef669a3 100644 --- a/backend/modules/hdmap +++ b/backend/modules/hdmap @@ -339,8 +339,9 @@ function prepare_partitions_for_install()  	done <<<"$cfg_hdmap"  } -function get_full_hd_map() +function fill_hdmap()  { +	cfg_set hdmap "$(          (                  echo "$cfg_hdmap"  		root_disk="$(get_disk "$(hdmap_get device of mountpoint /)")" @@ -360,6 +361,10 @@ function get_full_hd_map()                                  echo "$part:/media/$(basename "$part")::auto"                          fi                  done -        ) | sort -u -t: -k1,1 +                for part in $(list_dm_partitions) +                do +			echo "$part:::" +		done +        ) | sort -u -t: -k1,1)"  }  | 
