From: Daniel Mierswa <impulze@impulze.org>
To: lvm-devel@redhat.com
Subject: [PATCH] use /sbin/blkid from util-linux-ng for newer udev
Date: Fri, 14 Aug 2009 11:42:50 +0200 [thread overview]
Message-ID: <4A85319A.8030608@impulze.org> (raw)
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
next reply other threads:[~2009-08-14 9:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-14 9:42 Daniel Mierswa [this message]
2009-08-14 14:40 ` [PATCH] use /sbin/blkid from util-linux-ng for newer udev Peter Rajnoha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A85319A.8030608@impulze.org \
--to=impulze@impulze.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.