chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e379385
)
add 'crypto' devices to persistent storage rules
author
Kay Sievers
<kay.sievers@suse.de>
Fri, 11 Aug 2006 14:41:15 +0000
(16:41 +0200)
committer
Kay Sievers
<kay.sievers@suse.de>
Fri, 11 Aug 2006 14:41:15 +0000
(16:41 +0200)
etc/udev/rules.d/60-persistent-storage.rules
patch
|
blob
|
history
diff --git
a/etc/udev/rules.d/60-persistent-storage.rules
b/etc/udev/rules.d/60-persistent-storage.rules
index 5a63a4fa70a7a703eca3a96641d1c9f70c4cc6e7..f24b999a4afde65afda3d0e04f5facd565f3fd06 100644
(file)
--- a/
etc/udev/rules.d/60-persistent-storage.rules
+++ b/
etc/udev/rules.d/60-persistent-storage.rules
@@
-37,7
+37,7
@@
KERNEL=="*[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}-part%
# by-label/by-uuid (filesystem properties)
KERNEL=="*[!0-9]", SYSFS{removable}=="1", GOTO="persistent_storage_end"
IMPORT{program}="vol_id --export $tempnode"
# by-label/by-uuid (filesystem properties)
KERNEL=="*[!0-9]", SYSFS{removable}=="1", GOTO="persistent_storage_end"
IMPORT{program}="vol_id --export $tempnode"
-ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_UUID}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}"
+ENV{ID_FS_USAGE}=="filesystem|other
|crypto
", 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
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}"
# BIOS Enhanced Disk Device