[systemd-devel] [PATCH] fstab-generator: If we wait indefinitely for a mount, wait also for the device
Harald Hoyer
harald at redhat.com
Fri Mar 1 06:33:53 PST 2013
Am 01.03.2013 15:30, schrieb Lennart Poettering:
> On Fri, 01.03.13 15:13, harald at redhat.com (harald at redhat.com) wrote:
>
>> From: Harald Hoyer <harald at redhat.com>
>>
>> Write out "JobTimeoutSec=0" for the device the mountpoint (which does
>> not timeout) waits for.
>>
>> This helps with grabbing a cup of coffee while booting and not have
>> the crypto password dialog timeout and systemd in a failed state.
>
> Hmm, this hooks into "wait", which is initialized from the kernel
> cmdline rootwait? What are the precise semantics of the kernel there
> regarding this flag, in a non-initrd case? We probably should mimic the
> kernel here is good as we can...
>
> 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).
More information about the systemd-devel
mailing list