Skip to content
  • Olof Johansson's avatar
    [PATCH] Add rdinit parameter to pick early userspace init · ffdfc409
    Olof Johansson authored
    
    
    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: default avatarOlof Johansson <olof@lixom.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ffdfc409