summaryrefslogtreecommitdiff
path: root/etc/udev/udev.rules.gentoo
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev/udev.rules.gentoo')
-rw-r--r--etc/udev/udev.rules.gentoo2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/udev/udev.rules.gentoo b/etc/udev/udev.rules.gentoo
index b3ca042224..7e8966961d 100644
--- a/etc/udev/udev.rules.gentoo
+++ b/etc/udev/udev.rules.gentoo
@@ -57,7 +57,7 @@ KERNEL="ttyUSB0", NAME="pl2303"
# devfs-names for ide-devices (uncomment only one)
# /dev/ide/.../{disc,cd} and /dev/{cdroms,discs}/* type names
-BUS="ide", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b %n", RESULT="hd*", NAME="%1c", SYMLINK="%2c %3c"
+BUS="ide", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b %n", RESULT="hd*", NAME="%c{1}", SYMLINK="%c{2} %c{3}"
# fb devices
KERNEL="fb[0-9]*", NAME="fb/%n", SYMLINK="%k"