summaryrefslogtreecommitdiff
path: root/etc/udev/60-persistent-storage.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-03-22 19:46:33 +0100
committerKay Sievers <kay.sievers@suse.de>2006-03-22 19:46:33 +0100
commitddb5a84c349f2f5aca2387d5c3bddc684e64aa84 (patch)
tree0fed23d767c2849ba921872a132c9ffb93be9e8a /etc/udev/60-persistent-storage.rules
parentaeaf0fddb93bb2589253318353d1955bffae28ba (diff)
don't create uuid/label links for raid members
Diffstat (limited to 'etc/udev/60-persistent-storage.rules')
-rw-r--r--etc/udev/60-persistent-storage.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/udev/60-persistent-storage.rules b/etc/udev/60-persistent-storage.rules
index 5f1e84b68e..2455866999 100644
--- a/etc/udev/60-persistent-storage.rules
+++ b/etc/udev/60-persistent-storage.rules
@@ -38,8 +38,8 @@ KERNEL=="*[!0-9]", SYSFS{removable}=="1", GOTO="persistent_storage_end"
# by-label/by-uuid (filesystem properties)
IMPORT{program}="/sbin/vol_id --export $tempnode"
-ENV{ID_FS_UUID}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}"
-ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}"
+ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_UUID}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}"
+ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}"
# BIOS Enhanced Disk Device
KERNEL=="*[!0-9]", IMPORT{program}="/sbin/edd_id --export $tempnode"