From: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Karel Zak <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Discussion of Development and Customization of the Red Hat Linux
Installer
<anaconda-devel-list-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
initramfs <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 3/3] Tell the kernel to forget about partitions found on raw imsm raid disks
Date: Wed, 15 Jul 2009 10:03:48 +0200 [thread overview]
Message-ID: <4A5D8D64.1040207@redhat.com> (raw)
In-Reply-To: <20090714230219.GA5766-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
Hi,
On 07/15/2009 01:02 AM, Karel Zak wrote:
> Hi Hans,
>
> On Tue, Jul 14, 2009 at 10:24:43PM +0200, Hans de Goede wrote:
>> This patch currently assumes this new utility (code included) will become
>> part of udev and will live in /lib/udev, for now it is probably a good idea
>
> I hope not. The utility duplicate partx(8) / delpart(8) code.
>
>> --- a/modules.d/90mdraid/65-md-incremental-imsm.rules
>> +++ b/modules.d/90mdraid/65-md-incremental-imsm.rules
>> @@ -6,5 +6,6 @@ SUBSYSTEM=="block", ACTION=="add", \
>> ENV{ID_FS_TYPE}=="linux_raid_member|isw_raid_member", \
>> TEST!="/tmp/.mdraid_start-%k", \
>> IMPORT{program}="/sbin/mdadm --examine --export $tempnode", \
>> + RUN+="/lib/udev/rm_partitions $env{DEVNAME}", \
>
> + RUN+=/sbin/partx -d $env{DEVNAME}", \
>
Ah, good one I only knew about kpartx not partx, yes partx is the way to
go (assumed it works I've not tested this yet), no need to invent a
new utility.
Regards,
Hans
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2009-07-15 8:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-14 20:24 [PATCH 1/3] Fix lvm on top of dmraid Hans de Goede
[not found] ` <1247603083-3513-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-14 20:24 ` [PATCH 2/3] Make Intel BIOS raid use mdraid instead of dmraid when mdadm 3.0 is available Hans de Goede
[not found] ` <1247603083-3513-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-14 20:24 ` [PATCH 3/3] Tell the kernel to forget about partitions found on raw imsm raid disks Hans de Goede
[not found] ` <1247603083-3513-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-14 23:02 ` Karel Zak
[not found] ` <20090714230219.GA5766-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
2009-07-15 8:03 ` Hans de Goede [this message]
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=4A5D8D64.1040207@redhat.com \
--to=hdegoede-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=anaconda-devel-list-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=kzak-H+wXaHxf7aLQT0dZR+AlfA@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