summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-01-12 23:45:30 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:15 -0700
commit1eefb969ab96e3a897d0d1344db38ae2956eec31 (patch)
tree5cbdb2481bb5af617a849f4ca9dc60d031753349
parent655f414dde99fefacdd43948f3ca95ab05373e83 (diff)
[PATCH] oops, forgot to fix up the PROGRAM result from ID to RESULT in the config files.
-rw-r--r--etc/udev/udev.rules4
-rw-r--r--etc/udev/udev.rules.gentoo4
2 files changed, 4 insertions, 4 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules
index 12c7c581ec..6cb4896743 100644
--- a/etc/udev/udev.rules
+++ b/etc/udev/udev.rules
@@ -14,7 +14,7 @@
#
# Looking for scsi bus id 42:0:0:1
-BUS="scsi", PROGRAM="/bin/echo -n test-%b", ID="test-42:0:0:1", NAME="%c"
+BUS="scsi", PROGRAM="/bin/echo -n test-%b", RESULT="test-42:0:0:1", NAME="%c"
# A usb camera.
BUS="usb", SYSFS_vendor="FUJIFILM", SYSFS_model="M100", NAME="camera%n"
@@ -47,7 +47,7 @@ KERNEL="ttyUSB0", NAME="pl2303"
#KERNEL="tty*", NAME="vc/%n"
# if this is a ide cdrom, name it the default name, and create a symlink to cdrom
-BUS="ide", PROGRAM="/bin/cat /proc/ide/%k/media", ID="cdrom", NAME="%k", SYMLINK="cdrom"
+BUS="ide", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
# device mapper creates its own device nodes so ignore these
KERNEL="dm-[0-9]*", NAME=""
diff --git a/etc/udev/udev.rules.gentoo b/etc/udev/udev.rules.gentoo
index a9c5f57bb4..4a3292853f 100644
--- a/etc/udev/udev.rules.gentoo
+++ b/etc/udev/udev.rules.gentoo
@@ -23,7 +23,7 @@
###########################################################
# Looking for scsi bus id 42:0:0:1
-BUS="scsi", PROGRAM="/bin/echo -n test-%b", ID="test-42:0:0:1", NAME="%c"
+BUS="scsi", PROGRAM="/bin/echo -n test-%b", RESULT="test-42:0:0:1", NAME="%c"
# A usb camera.
BUS="usb", SYSFS_vendor="FUJIFILM", SYSFS_model="M100", NAME="camera%n"
@@ -60,7 +60,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", ID="hd*", NAME="%1c", SYMLINK="%2c %3c"
+BUS="ide", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b %n", RESULT="hd*", NAME="%1c", SYMLINK="%2c %3c"
# fb devices
KERNEL="fb[0-9]*", NAME="fb/%n", SYMLINK="%k"