summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-01-29 21:54:38 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:20 -0700
commit79080c2664117e745eee3fcb812ec17208263672 (patch)
treed552963d641b7b6ab714060b3a921ac04d199fc0 /etc
parent8a08e4b1906eef5d5cb585b125612cce8d565e5c (diff)
[PATCH] kill the last examples that contained the %D option.
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/udev.rules.devfs5
-rw-r--r--etc/udev/udev.rules.gentoo3
2 files changed, 1 insertions, 7 deletions
diff --git a/etc/udev/udev.rules.devfs b/etc/udev/udev.rules.devfs
index 1a52425633..f9333e91c4 100644
--- a/etc/udev/udev.rules.devfs
+++ b/etc/udev/udev.rules.devfs
@@ -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"
diff --git a/etc/udev/udev.rules.gentoo b/etc/udev/udev.rules.gentoo
index a449a4dac9..0c53df535c 100644
--- a/etc/udev/udev.rules.gentoo
+++ b/etc/udev/udev.rules.gentoo
@@ -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'
#
###########################################################