r1119 - trunk/udev

jim at linuxfromscratch.org jim at linuxfromscratch.org
Tue Jan 31 20:15:06 PST 2006


Author: jim
Date: 2006-01-31 21:14:57 -0700 (Tue, 31 Jan 2006)
New Revision: 1119

Modified:
   trunk/udev/
   trunk/udev/udev
Log:
 r1154 at server:  jim | 2006-01-31 20:01:54 -0800
 Updates suggested by Kay Sievers



Property changes on: trunk/udev
___________________________________________________________________
Name: svk:merge
   - 3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1118
   + 3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1154

Modified: trunk/udev/udev
===================================================================
--- trunk/udev/udev	2006-02-01 03:29:01 UTC (rev 1118)
+++ trunk/udev/udev	2006-02-01 04:14:57 UTC (rev 1119)
@@ -54,18 +54,23 @@
 case "$1" in
     start)
 	boot_mesg "Creating /dev in tmpfs..."
-	mount -n -t tmpfs tmpfs /dev -o mode=755
+	mount -n -t tmpfs -o mode=0755 udev /dev
 	evaluate_retval
 
 	boot_mesg "Copying static entries..."
-	cp -ar /lib/udev/devices/* /dev
+	cp --preserve=all --recursive --remove-destination /lib/udev/devices/* /dev
 	evaluate_retval
+	
+	boot_mesg "Setting Permissons /dev/shm..."
+	chmod 1777 /dev/shm
+	evaluate_retval
 
-	# disable hotplug helper, udevd listens to netlink
-	if [ `cat /proc/sys/kernel/hotplug` ] ; then
-	echo "" > /proc/sys/kernel/hotplug
-	fi
+	boot_mesg "Mounting /dev/pts..."
+	mount -n -t devpts -o mode=0620,gid=10 devpts /dev/pts
+	evaluate_retval
 
+	echo "" > /sys/kernel/uevent_helper
+
 	# start udevd
 	boot_mesg "Starting udevd..."
 	/sbin/udevd --daemon




More information about the cross-lfs mailing list