[systemd-devel] [PATCH] fstab-generator: If we wait indefinitely for a mount, wait also for the device

Carlos Silva r3pek at r3pek.org
Fri Mar 1 06:53:44 PST 2013


On Fri, Mar 1, 2013 at 1:37 PM, Lennart Poettering
<lennart at poettering.net>wrote:

> > > So, in the non-initrd case: what does rootwait do on the kernel
> cmdline?
> > > And what happens if it is not used?
> >
> >         rootwait        [KNL] Wait (indefinitely) for root device to
> show up.
> >                         Useful for devices that are detected
> asynchronously
> >                         (e.g. USB and MMC devices).
>
> Yeah, that's what I read, too, but I cannot make sense of it. See above:
> what is different from when it is not used? Or to be precise: what does
> the kernel precisely do when rootwait is *not* passed?


Hi,

AFAIK, without rootwait, it just tries to mount root and execute init
failing if the device isn't there.
With rootwait, it *waits* for the device to become available before
mounting root.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130301/4a195de8/attachment.html>


More information about the systemd-devel mailing list