r1916 - / trunk/udev

jim at linuxfromscratch.org jim at linuxfromscratch.org
Thu Jul 6 20:45:05 PDT 2006


Author: jim
Date: 2006-07-06 21:45:04 -0600 (Thu, 06 Jul 2006)
New Revision: 1916

Modified:
   /
   trunk/udev/
   trunk/udev/50-udev.rules
   trunk/udev/60-persistent-disk.rules
Log:
 r4356 at server (orig r2009):  jim | 2006-07-06 20:26:50 -0700
  r4355 at server:  jim | 2006-07-06 20:26:29 -0700
  Fixed cdrom group usage
 



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:2008
   + b6734a72-470d-0410-b049-f317dca95413:/:2009


Property changes on: trunk/udev
___________________________________________________________________
Name: svk:merge
   - 38c7b366-470d-0410-a457-935707c16d9b:/udev:3699
3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1263
   + 38c7b366-470d-0410-a457-935707c16d9b:/udev:4355
3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1263

Modified: trunk/udev/50-udev.rules
===================================================================
--- trunk/udev/50-udev.rules	2006-07-05 21:25:45 UTC (rev 1915)
+++ trunk/udev/50-udev.rules	2006-07-07 03:45:04 UTC (rev 1916)
@@ -136,6 +136,7 @@
 
 # misc storage devices (non-block)
 KERNEL=="sg*",			GROUP="disk", MODE="640"
+KERNEL=="sr*",			GROUP="cdrom"
 KERNEL=="st*",			GROUP="tape"
 KERNEL=="nst*",			GROUP="tape"
 KERNEL=="initrd",		GROUP="disk"

Modified: trunk/udev/60-persistent-disk.rules
===================================================================
--- trunk/udev/60-persistent-disk.rules	2006-07-05 21:25:45 UTC (rev 1915)
+++ trunk/udev/60-persistent-disk.rules	2006-07-07 03:45:04 UTC (rev 1916)
@@ -24,6 +24,7 @@
 KERNEL=="ram*|loop*|fd*|nbd*",	GOTO="persistent_end"
 
 # never access removable ide devices, the drivers are causing event loops on open()
+BUS=="ide",     DRIVER=="ide-cdrom", SYSFS{removable}=="1", GROUP="cdrom"
 BUS=="ide",	DRIVER!="ide-cdrom", SYSFS{removable}=="1", GOTO="persistent_end"
 
 # by-id (hardware serial number)




More information about the cross-lfs mailing list