[Pkg-cryptsetup-devel] Bug#488271: Bug#488271: Bug#488271: cryptsetup: use a loop to wait for the root device

David Härdeman david at hardeman.nu
Tue Jul 1 21:44:10 UTC 2008


On Tue, Jul 01, 2008 at 10:25:50PM +0100, Scott James Remnant wrote:
>On Tue, 2008-07-01 at 23:11 +0200, David Härdeman wrote:
>> On Tue, Jul 01, 2008 at 09:09:19PM +0100, Scott James Remnant wrote:
>> >We already have a loop in mountroot() to deal with this problem, it
>> >waits until the root device is actually available before proceeeding.
>> 
>> Which is after all initramfs scripts have already had their chance of 
>> executing.
>> 
>No initramfs script should use the root device before it has been
>mounted.
>
>If you want to modify or create root devices, it should be done with a
>udev rule.

Ummm, are we still talking about the same thing? cryptsetup creates the 
root device in an initramfs script...of course it won't use any root 
devices...

-- 
David Härdeman





More information about the Pkg-cryptsetup-devel mailing list