rpms/udev/FC-4 udev.rules,1.25,1.26

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Jun 24 08:30:00 UTC 2005


Author: harald

Update of /cvs/dist/rpms/udev/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv16464

Modified Files:
	udev.rules 
Log Message:
add cpu and msr devices


Index: udev.rules
===================================================================
RCS file: /cvs/dist/rpms/udev/FC-4/udev.rules,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- udev.rules	12 May 2005 10:19:24 -0000	1.25
+++ udev.rules	24 Jun 2005 08:29:57 -0000	1.26
@@ -170,6 +170,10 @@
 BUS=="usb", KERNEL=="lp[0-9]*",	NAME="usb/%k"
 
 KERNEL=="microcode",		NAME="cpu/%k"
+# provide symlinks for backwards compatibility
+KERNEL="msr[0-9]*",     	NAME="cpu/%n/msr", SYMLINK="cpu/%k"
+KERNEL="cpu[0-9]*",     	NAME="cpu/%n/cpu", SYMLINK="cpu/%k", SYMLINK="%k"
+
 KERNEL=="ram1",			SYMLINK="ram"
 KERNEL=="video0",		SYMLINK="video"
 KERNEL=="radio0",		SYMLINK="radio"




More information about the fedora-cvs-commits mailing list