[Lunar-commits] r14915 - lunar-iso/trunk/lunar-install/sbin
Auke Kok
sofar at lunar-linux.org
Sun May 22 13:18:32 UTC 2005
Author: sofar
Date: 2005-05-22 13:18:31 +0000 (Sun, 22 May 2005)
New Revision: 14915
Modified:
lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
Make this look nicer and not spoo errors.
Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install 2005-05-22 13:09:31 UTC (rev 14914)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install 2005-05-22 13:18:31 UTC (rev 14915)
@@ -170,7 +170,7 @@
*) PTYPE="(unrecognized)" ;;
esac
- FSIZE=$(nice_size `fdisk -l $PART | grep ^Disk | grep bytes | awk '{print $5}'`)
+ FSIZE=$(nice_size `fdisk -l $PART 2>&1 | grep ^Disk | grep bytes | awk '{print $5}'`)
# this prevents listing EXTENDED partitions
if [ "$FSIZE" == "" ]; then
continue
@@ -572,7 +572,7 @@
MNTOPTARGS=""
fi
if mount -n /dev/discs/$PART $TARGET$MOUNTPOINT -t $FSYS $MNTOPTSARGS ; then
- FSTAB="$FSTAB\n/dev/discs/$PART\t$MOUNTPOINT\t$FSYS\t$MNT_OPTS\t0 $FSCK_PASS"
+ FSTAB="$FSTAB\n$(lsh unmap_device /dev/discs/$PART)\t$MOUNTPOINT\t$FSYS\t$MNT_OPTS\t0 $FSCK_PASS"
else
sleep 3
$DIALOG --msgbox "Problem mounting filesystem on /dev/discs/$PART. Installation will continue." 8 50
More information about the Lunar-commits
mailing list