On Mon, Feb 02, 2009 at 09:09:16PM +0100, Kay Sievers wrote:
> We are using the same rules as in the real root since we use udev in
> initramfs. Only one initramfs specific rule is created on-the-fly by
> the initramfs itself, based on the vales from the boot command line.
>
> I'm not against adding such a directory, but what kind of rules do you
> think would go there? I'm at the moment not sure, that they would need
> to be different.
The LVM case for example, to auto-assemble volume groups.
What we have now is..
SUBSYSTEM!="block", GOTO="lvm_end"
ACTION!="add|change", GOTO="lvm_end"
KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode"
ENV{ID_FS_TYPE}=="LVM2_member", RUN+="/sbin/lvm vgscan", RUN+="/sbin/lvm
vgchange -ay"
LABEL="lvm_end"
which isn't great..
dmraid is another case.
Dave
--
http://www.codemonkey.org.uk
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html