[Pkg-sysvinit-commits] r954 - sysvinit/trunk/debian/initscripts/etc/init.d

Petter Reinholdtsen pere at costa.debian.org
Fri Sep 22 16:29:08 UTC 2006


Author: pere
Date: 2006-09-22 16:29:07 +0000 (Fri, 22 Sep 2006)
New Revision: 954

Modified:
   sysvinit/trunk/debian/initscripts/etc/init.d/mountkernfs.sh
Log:
Mount lib/init/rw/ as the very first file system.

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountkernfs.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountkernfs.sh	2006-09-22 16:18:27 UTC (rev 953)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountkernfs.sh	2006-09-22 16:29:07 UTC (rev 954)
@@ -19,6 +19,13 @@
 
 do_start () {
 	#
+	# Get some writable area available before the root is checked
+	# and remounted.
+	#
+	domount tmpfs "" /lib/init/rw tmpfs -omode=0755,nosuid
+	touch /lib/init/rw/.ramfs
+
+	#
 	# Mount proc filesystem on /proc
 	#
 	domount proc "" /proc proc -onodev,noexec,nosuid
@@ -42,11 +49,6 @@
 		touch /var/lock/.ramfs
 	fi
 
-	# Get some writable area available before the root is checked
-	# and remounted.
-	domount tmpfs "" /lib/init/rw tmpfs -omode=0755,nosuid
-	touch /lib/init/rw/.ramfs
-
 	#
 	# Mount usbfs/usbdevfs if /proc/bus/usb is present.
 	#




More information about the Pkg-sysvinit-commits mailing list