Re: [RFC PATCH] Introduce a 'recovery' command line option
From: Richard Weinberger
Date: Tue Aug 16 2016 - 04:59:21 EST
On 16.08.2016 09:15, Janne Karhunen wrote:
> On Tue, Aug 16, 2016 at 10:04 AM, Richard Weinberger
> <richard.weinberger@xxxxxxxxx> wrote:
>
>> Why are you moving this feature into the kernel?
>> To support such advanced features we have the initramfs.
>>
>> dracut has already rootfallback=.
>
> For saving some precious boot-up time (my systems run without initrd)
> and to unify the solutions. If kernel does this bootloaders and
> initrds don't have to care.
Features - collect them all? ;-)
I my opinion it is not wise to move feature into the kernel which can
be solved perfectly fine in userspace (initramfs).
How much slows an initramfs your boot time down?
Did you try using a handmade minimal initramfs? Not compressed, single c program,
statically linked..., etc.
Thanks,
//richard