mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Use new blkid instead of vol_id in udev rules.
Thanks to Daniel Mierswa for reminding us.
This commit is contained in:
parent
afa8ea4078
commit
c7a3cc0a9b
@ -21,7 +21,7 @@ ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}"
|
||||
|
||||
ENV{DM_SUSPENDED}=="1", GOTO="dm_end"
|
||||
|
||||
IMPORT{program}="vol_id --export $tempnode"
|
||||
IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
|
||||
OPTIONS="link_priority=-100"
|
||||
ENV{DM_LV_LAYER}=="?*", OPTIONS="link_priority=-90"
|
||||
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
|
||||
|
Loading…
Reference in New Issue
Block a user