From a2e5d2cb9c53cff13e48efa7ba2791d9deb36314 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Thu, 16 Feb 2012 14:39:02 +0000 Subject: [PATCH] Switch to using built-in blkid in 13-dm-disk.rules. Available in udev since version 176. --- WHATS_NEW_DM | 1 + udev/13-dm-disk.rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 353e97bcd..2615b61c5 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.71 - ==================================== + Switch to using built-in blkid in 13-dm-disk.rules. Add "watch" rule to 13-dm-disk.rules. Detect failing fifo and skip 20s retry communication period. Add DM_DEFAULT_NAME_MANGLING_MODE env. variable to override configured value. diff --git a/udev/13-dm-disk.rules b/udev/13-dm-disk.rules index 50f0c61a1..1e2d19cb4 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}"