* [PATCH] use /sbin/blkid from util-linux-ng for newer udev
@ 2009-08-14 9:42 Daniel Mierswa
2009-08-14 14:40 ` Peter Rajnoha
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Mierswa @ 2009-08-14 9:42 UTC (permalink / raw)
To: lvm-devel
udev no longer provides vol_id and uses /sbin/blkid from util-linux-ng
(util-linux won't work)
see:
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=f07996885dab45102492d7f16e7e2997e264c725
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
---
udev/12-dm-disk.rules | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/udev/12-dm-disk.rules b/udev/12-dm-disk.rules
index 4b81420..b1e6cd2 100644
--- a/udev/12-dm-disk.rules
+++ b/udev/12-dm-disk.rules
@@ -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}"
--
1.6.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] use /sbin/blkid from util-linux-ng for newer udev
2009-08-14 9:42 [PATCH] use /sbin/blkid from util-linux-ng for newer udev Daniel Mierswa
@ 2009-08-14 14:40 ` Peter Rajnoha
0 siblings, 0 replies; 2+ messages in thread
From: Peter Rajnoha @ 2009-08-14 14:40 UTC (permalink / raw)
To: lvm-devel
On 08/14/2009 11:42 AM, Daniel Mierswa wrote:
> udev no longer provides vol_id and uses /sbin/blkid from util-linux-ng
> (util-linux won't work)
> -IMPORT{program}="vol_id --export $tempnode"
> +IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
Yes, you're right. I've changed it.
Thanks for the reminder.
Peter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-14 14:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-14 9:42 [PATCH] use /sbin/blkid from util-linux-ng for newer udev Daniel Mierswa
2009-08-14 14:40 ` Peter Rajnoha
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.