summaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-02-16 14:39:02 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2012-02-16 14:39:02 +0000
commit36c90588fc05043820a88a1bc5b201966db885fb (patch)
tree487ffd7adc6a409a256832c0ebf71828bb5c9c31 /udev
parent64a20df41c9bdf43870010e9f9764e10b379cd07 (diff)
downloadlvm2-36c90588fc05043820a88a1bc5b201966db885fb.tar.gz
lvm2-36c90588fc05043820a88a1bc5b201966db885fb.tar.xz
lvm2-36c90588fc05043820a88a1bc5b201966db885fb.zip
Switch to using built-in blkid in 13-dm-disk.rules.
Available in udev since version 176.
Diffstat (limited to 'udev')
-rw-r--r--udev/13-dm-disk.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/13-dm-disk.rules b/udev/13-dm-disk.rules
index 50f0c61a..1e2d19cb 100644
--- a/udev/13-dm-disk.rules
+++ b/udev/13-dm-disk.rules
@@ -19,7 +19,7 @@ ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}"
ENV{DM_SUSPENDED}=="1", GOTO="dm_end"
-IMPORT{program}="$env{DM_SBIN_PATH}/blkid -o udev -p $tempnode"
+IMPORT{program}="blkid"
ENV{DM_UDEV_LOW_PRIORITY_FLAG}=="1", OPTIONS="link_priority=-100"
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"