chiark / gitweb /
[PATCH] kill the last examples that contained the %D option.
authorgreg@kroah.com <greg@kroah.com>
Fri, 30 Jan 2004 05:54:38 +0000 (21:54 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:20 +0000 (21:13 -0700)
etc/udev/udev.rules.devfs
etc/udev/udev.rules.gentoo

index 1a5242563342efa2b932885b40efdb051fd293b5..f9333e91c4e9c21db7a951fb5374ae96fc422730 100644 (file)
@@ -2,10 +2,7 @@
 # fields.  See the udev man page for a full description of them.
 
 # ide block devices
-BUS="ide", id="0.0", NAME="ide/host0/bus0/target0/lun0/%D"
-BUS="ide", id="0.1", NAME="ide/host0/bus0/target1/lun0/%D"
-BUS="ide", id="1.0", NAME="ide/host0/bus1/target0/lun0/%D"
-BUS="ide", id="1.1", NAME="ide/host0/bus1/target1/lun0/%D"
+BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%1c %2c"
 
 # md block devices
 KERNEL="md[0-9]*", NAME="md/%n"
index a449a4dac961acbb4b61b7abb3d1fe6e465d0d69..0c53df535c281780865bb7e9a2477e105ce0dc6d 100644 (file)
@@ -11,9 +11,6 @@
 # %b - the bus id for the device
 # %c - the return value of the external PROGRAM (note, this doesn't work within
 #      the PROGRAM field for the obvious reason.)
-# %D - use the devfs style disk name for this device.
-#      For partitions, this will result in 'part%n'
-#      If this is not a partition, it will result in 'disc'
 #
 
 ###########################################################