[Lunar-commits] r18563 - lunar-iso/trunk/lunar-install/sbin

Auke Kok sofar at lunar-linux.org
Tue Feb 7 17:16:01 UTC 2006


Author: sofar
Date: 2006-02-07 17:15:57 +0000 (Tue, 07 Feb 2006)
New Revision: 18563

Modified:
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
After fsck - we need to regenerate the device list alltogether.


Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2006-02-07 16:22:50 UTC (rev 18562)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2006-02-07 17:15:57 UTC (rev 18563)
@@ -185,6 +185,8 @@
 	# superfunction to maintain, list, edit partitions and discs
 	case $1 in
 		init)
+			# remove all old disc/part devices
+			unset DEVICES
 			# fill the list with devices
 			for DEVICE in $(list_block_devices); do
 				block_devices add $DEVICE
@@ -459,6 +461,8 @@
 	if confirm "$PROMPT"; then
 		unset PARTITIONS
 		$PROG $DISC
+		# regenerate list of block devices
+		block_devices init
 		if (( STEP == 3 )); then
 			(( STEP++ ))
 		fi



More information about the Lunar-commits mailing list