Path: csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod From: Richard Weinberger Newsgroups: linux.kernel Subject: Re: [RFC PATCH] Introduce a 'recovery' command line option Date: Tue, 16 Aug 2016 11:00:01 +0200 Message-ID: References: X-Original-To: Janne Karhunen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 25 Organization: linux.* mail to news gateway X-Original-Cc: LKML X-Original-Date: Tue, 16 Aug 2016 10:59:13 +0200 X-Original-Message-ID: <6168cbce-b422-3ba6-8959-c5631c74cc9e@nod.at> X-Original-References: <1471329393-11764-1-git-send-email-Janne.Karhunen@gmail.com> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1463560 On 16.08.2016 09:15, Janne Karhunen wrote: > On Tue, Aug 16, 2016 at 10:04 AM, Richard Weinberger > 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