From 24c27caf82ecf3bbe0b8d2ee5184faf03364635c Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Wed, 22 Mar 2006 12:21:49 +0100 Subject: path_id: add bus to USB path --- etc/udev/60-persistent-storage.rules | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'etc/udev') 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" -- cgit v1.2.3-54-g00ecf