chiark / gitweb /
[PATCH] fix up udev.rules to handle oss rules better.
[elogind.git] / etc / udev / udev.rules.devfs
index f9333e91c4e9c21db7a951fb5374ae96fc422730..77d3cf5414d8e63f98aaf4aca74fcec1f0156b2c 100644 (file)
@@ -2,7 +2,7 @@
 # fields.  See the udev man page for a full description of them.
 
 # ide block devices
-BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%1c %2c"
+BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%c{1} %c{2}"
 
 # md block devices
 KERNEL="md[0-9]*", NAME="md/%n"