[Lunar-commits] r15222 - lunar-iso/branches/lunar-iso-2.6/initrd/template/sbin

Jaime Buffery nestu at lunar-linux.org
Thu Jun 2 11:33:48 UTC 2005


Author: nestu
Date: 2005-06-02 11:33:47 +0000 (Thu, 02 Jun 2005)
New Revision: 15222

Modified:
   lunar-iso/branches/lunar-iso-2.6/initrd/template/sbin/init
Log:
Adding -n to mount options for 2.6

Modified: lunar-iso/branches/lunar-iso-2.6/initrd/template/sbin/init
===================================================================
--- lunar-iso/branches/lunar-iso-2.6/initrd/template/sbin/init	2005-06-02 11:14:49 UTC (rev 15221)
+++ lunar-iso/branches/lunar-iso-2.6/initrd/template/sbin/init	2005-06-02 11:33:47 UTC (rev 15222)
@@ -203,7 +203,7 @@
        exec /sbin/init  $*
     else
         $DIALOG --msgbox "Unable to locate /sbin/init on $ROOT." 0 0
-	umount -n /mnt
+        umount -n /mnt
         main $*
     fi
 }
@@ -235,12 +235,12 @@
    mount -n -t devfs devfs /dev
    devfsd /dev &
 else
-   mount -t sysfs sysfs /sys
-   mount -t ramfs none /dev
+   mount -t -n sysfs sysfs /sys
+   mount -t -n ramfs none /dev
    echo "/sbin/udevsend" > /proc/sys/kernel/hotplug
    udevstart
    mkdir /dev/{pts,shm}
-   mount -t devpts devpts /dev/pts
+   mount -t -n devpts devpts /dev/pts
 fi
 
 # short timeout, we really need to be able to see debug info



More information about the Lunar-commits mailing list