• O
    [PATCH] Add rdinit parameter to pick early userspace init · ffdfc409
    Olof Johansson 提交于
    Since early userspace was added, there's no way to override which init to
    run from it.  Some people tack on an extra cpio archive with a link from
    /init depending on what they want to run, but that's sometimes impractical.
    
    Changing the "init=" to also override the early userspace isn't feasible,
    since it is still used to indicate what init to run from disk when early
    userspace has completed doing whatever it's doing (i.e.  load filesystem
    modules and drivers).
    
    Instead, introduce "rdinit=" and make it override the default "/init" if
    specified.
    Signed-off-by: NOlof Johansson <olof@lixom.net>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    ffdfc409
main.c 17.1 KB