summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
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'
#
###########################################################