summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2006-03-22 12:21:49 +0100
committerKay Sievers <kay.sievers@suse.de>2006-03-22 12:21:49 +0100
commit24c27caf82ecf3bbe0b8d2ee5184faf03364635c (patch)
tree71f2c828f6a9cea4835a3219996b8bf38b1f2bd4 /etc
parent63645a3dfce22e865b96b519fafaa2fcb489f3be (diff)
path_id: add bus to USB path
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/60-persistent-storage.rules3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/udev/60-persistent-storage.rules b/etc/udev/60-persistent-storage.rules
index 9424322d6d..94643be184 100644
--- a/etc/udev/60-persistent-storage.rules
+++ b/etc/udev/60-persistent-storage.rules
@@ -29,8 +29,7 @@ KERNEL=="sd*[0-9]|dasd*[0-9]", IMPORT{parent}=="ID_*"
KERNEL=="sd*[0-9]|dasd*[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"
# by-path (shortest physical path)
-KERNEL=="*[!0-9]|sr*", ENV{ID_TYPE}=="?*", IMPORT{program}="/sbin/path_id %p", SYMLINK+="disk/by-path/$env{ID_PATH}"
-KERNEL=="st*", ENV{ID_TYPE}=="?*", IMPORT{program}="/sbin/path_id %p", SYMLINK+="tape/by-path/$env{ID_PATH}"
+KERNEL=="*[!0-9]|sr*|st*", ENV{ID_TYPE}=="?*", IMPORT{program}="/sbin/path_id %p", SYMLINK+="disk/by-path/$env{ID_PATH}"
KERNEL=="sr*|st*", GOTO="persistent_storage_end"
KERNEL=="*[0-9]", IMPORT{parent}=="ID_*"
KERNEL=="*[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}-part%n"