summaryrefslogtreecommitdiff
path: root/etc/udev/gentoo/udev.rules
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-09-13 10:39:07 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-13 10:39:07 -0700
commit23fd5f886c6847fd1917cefd7cb6d3eba0b9df1d (patch)
tree5d45e7a2350e02580dfe8449c838581ce9c5e1c8 /etc/udev/gentoo/udev.rules
parenta2c7b2173ab1c365157d07795a58a5e37a083c04 (diff)
fix scsi_id rule in gentoo config file
Diffstat (limited to 'etc/udev/gentoo/udev.rules')
-rw-r--r--etc/udev/gentoo/udev.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/udev/gentoo/udev.rules b/etc/udev/gentoo/udev.rules
index f1e38b8d87..cba8e677c2 100644
--- a/etc/udev/gentoo/udev.rules
+++ b/etc/udev/gentoo/udev.rules
@@ -262,8 +262,8 @@ KERNEL=="hd*[0-9]", IMPORT{parent}=="ID_*", SYMLINK+="disk/by-id/ata-$env{ID_MOD
KERNEL=="sd*[!0-9]", SYSFS{ieee1394_id}=="*", IMPORT="/bin/echo -e 'ID_SERIAL=$sysfs{ieee1394_id}\nID_BUS=ieee1394'"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/usb_id -x"
-KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/scsi_id -g -x -s %p"
-KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/scsi_id -g -x -a -s %p"
+KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/scsi_id -g -x -s %p -d %N"
+KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/scsi_id -g -x -a -s %p -d %N"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
KERNEL=="sd*[0-9]", IMPORT{parent}=="ID_*"
KERNEL=="sd*[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"