r1000 - trunk/udev

jim at linuxfromscratch.org jim at linuxfromscratch.org
Wed Jan 4 17:11:14 PST 2006


Author: jim
Date: 2006-01-04 18:11:14 -0700 (Wed, 04 Jan 2006)
New Revision: 1000

Modified:
   trunk/udev/
   trunk/udev/udev
Log:
 r1271 at server:  jim | 2006-01-04 16:39:41 -0800
 Added creating of /dev and copying of files



Property changes on: trunk/udev
___________________________________________________________________
Name: svk:merge
   - 3949c430-d905-0410-97b6-f115d20341b5:/udev:1266
   + 3949c430-d905-0410-97b6-f115d20341b5:/udev:1271

Modified: trunk/udev/udev
===================================================================
--- trunk/udev/udev	2006-01-04 05:29:26 UTC (rev 999)
+++ trunk/udev/udev	2006-01-05 01:11:14 UTC (rev 1000)
@@ -53,6 +53,15 @@
 
 case "$1" in
     start)
+	echo "Creating /dev in tmpfs..."
+	mount -n -t tmpfs tmpfs /dev -o mode=755
+
+	echo "Copying static entries..."
+	cp -ar /lib/udev/devices/* /dev
+
+	echo "Executing udevstart..."
+	udevstart
+
 	# disable hotplug helper, udevd listens to netlink
 	echo "" > /proc/sys/kernel/hotplug
 




More information about the cross-lfs mailing list