Re: [PATCH v5] init: Allow CONFIG_INIT_FALLBACK=n to disable defaults if init= fails

2014-10-01 Thread josh
On Wed, Oct 01, 2014 at 03:56:41PM -0700, Andy Lutomirski wrote: > If a user puts init=/whatever on the command line and /whatever > can't be run, then the kernel will try a few default options before > giving up. If init=/whatever came from a bootloader prompt, then > this is unexpected but proba

[PATCH v5] init: Allow CONFIG_INIT_FALLBACK=n to disable defaults if init= fails

2014-10-01 Thread Andy Lutomirski
If a user puts init=/whatever on the command line and /whatever can't be run, then the kernel will try a few default options before giving up. If init=/whatever came from a bootloader prompt, then this is unexpected but probably harmless. On the other hand, if it comes from a script (e.g. a tool