From: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: PATCH: Fix / on lvm
Date: Fri, 10 Jul 2009 18:49:23 +0200 [thread overview]
Message-ID: <4A577113.2040804@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
Hi,
Currently / on lvm is not working because the udev rules test for KERNEL="dm-*" which of course
will not be true for PV's, so PV's are not recognized and thus lvm does not work.
The attached patch fixes this.
Regards,
Hans
[-- Attachment #2: dracut-patch --]
[-- Type: text/plain, Size: 727 bytes --]
diff --git a/modules.d/90lvm/64-lvm-vol_id.rules b/modules.d/90lvm/64-lvm-vol_id.rules
index d4b5269..0ebf009 100644
--- a/modules.d/90lvm/64-lvm-vol_id.rules
+++ b/modules.d/90lvm/64-lvm-vol_id.rules
@@ -6,7 +6,6 @@
SUBSYSTEM!="block", GOTO="lvm_end"
ACTION!="add|change", GOTO="lvm_end"
-KERNEL!="dm-*", GOTO="lvm_end"
IMPORT{program}="vol_id --export $tempnode"
diff --git a/modules.d/90lvm/64-lvm.rules b/modules.d/90lvm/64-lvm.rules
index 3eddd07..7218862 100644
--- a/modules.d/90lvm/64-lvm.rules
+++ b/modules.d/90lvm/64-lvm.rules
@@ -6,7 +6,6 @@
SUBSYSTEM!="block", GOTO="lvm_end"
ACTION!="add|change", GOTO="lvm_end"
-KERNEL!="dm-*", GOTO="lvm_end"
IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
next reply other threads:[~2009-07-10 16:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-10 16:49 Hans de Goede [this message]
[not found] ` <4A577113.2040804-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-13 3:09 ` PATCH: Fix / on lvm Warren Togami
[not found] ` <4A5AA554.3000304-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-13 7:04 ` Hans de Goede
2009-07-13 12:56 ` Harald Hoyer
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=4A577113.2040804@redhat.com \
--to=hdegoede-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox