On Mar 15, 2012, at 12:09 PM, Bruce Dubbs wrote:

> Qrux wrote:
> 
>> IMO, LVM and mdraid should be done super-early (whether embedded in
>> some other script or separated into their own).  It should go right
>> after modules are loaded (S05modules in rcS.d, so maybe S06LVM and
>> S06md) for the people doing fancy initramfs boots with modules.
>> Started early, udev, swap, checkfs, and mountfs could all use mdraid
>> and LVM devices.
> 
> I don't see how that sort of thing could be done before devices are 
> populated by udev.

I don't know that it has to come after udev if you have LVM built into the 
kernel.  It's just a question of whether the kernel "is aware" of the devices 
before calling vgchange.  If the kernel sees the devices at boot, then it's 
probably not different from any other device that's seen at boot before udev 
populates /dev.  You might just need custom udev rules to make sure they are 
named properly.  But, I'm obviously not certain; this would need some 
experimentation to verify.

        Q

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to