r1099 - trunk/udev

jim at linuxfromscratch.org jim at linuxfromscratch.org
Wed Jan 25 11:21:48 PST 2006


Author: jim
Date: 2006-01-25 12:21:48 -0700 (Wed, 25 Jan 2006)
New Revision: 1099

Modified:
   trunk/udev/
   trunk/udev/50-udev.rules
Log:
 r1115 at server:  jim | 2006-01-25 11:21:11 -0800
 Make sure floppy group is used



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

Modified: trunk/udev/50-udev.rules
===================================================================
--- trunk/udev/50-udev.rules	2006-01-25 19:04:08 UTC (rev 1098)
+++ trunk/udev/50-udev.rules	2006-01-25 19:21:48 UTC (rev 1099)
@@ -14,6 +14,9 @@
 #
 ########################################################################
 
+# block devices
+SUBSYSTEM=="block", 		GROUP="disk", MODE="0640"
+
 # console
 KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", 	NAME="%k", GROUP="tty", MODE="666", OPTIONS="last_rule"
 KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", 	NAME="%k", GROUP="tty", MODE="666", OPTIONS="last_rule"
@@ -120,12 +123,9 @@
 KERNEL=="pktcdvd[0-9]*",	NAME="pktcdvd/%k"
 
 # fix floppy devices
-KERNEL=="fd[0-9]*", 		ACTION=="add", SYSFS{device/cmos}=="*", RUN+="create_floppy_devices -c -t $sysfs{device/cmos} -m %M /dev/%k"
+KERNEL=="fd[0-9]*", 		ACTION=="add", GROUP="floppy", SYSFS{device/cmos}=="*", RUN+="create_floppy_devices -c -t $sysfs{device/cmos} -m %M /dev/%k"
 KERNEL=="fd[0-9]*", 		ACTION=="remove", RUN+="/bin/rm -f $root/%k*"
 
-# block devices
-SUBSYSTEM=="block", 		GROUP="disk", MODE="0640"
-
 # sd:		0 TYPE_DISK, 7 TYPE_MOD, 14 TYPE_RBC
 # sr:		4 TYPE_WORM, 5 TYPE_ROM
 # st/osst:	1 TYPE_TAPE




More information about the cross-lfs mailing list