[BusyBox] how to get "reboot" to work when using "minit"??

Rob Landley rob at landley.net
Thu May 6 16:37:39 UTC 2004

On Monday 03 May 2004 21:24, Gyepi SAM wrote:
> On Mon, May 03, 2004 at 06:43:44PM -0400, Robert P. J. Day wrote:
> > i'm guessing that it has to do with the fact that "reboot" calls the
> > kill_init() routine, and kill_init() might be getting confused since
> > it's looking for an actual init program running, but what's running
> > *instead* is minit (even though they both would have PID 1).
> >
> >   NOTE: i still have the BB "init" applet configured, since i want
> > a fallback in case i screw up minit somehow.  so my root filesystem
> > has both:
> >
> >   /sbin/init -> ../bin/busybox
> >   /sbin/minit (the actual executable)
> >
> > in order for reboot to work under minit, do i have to deselect the init
> > applet from my BB configuration?  am i guessing correctly that it's the
> > kill_init() routine that's the problem in that it's somehow getting
> > confused?

You can always bypass init and make the system calls yourself if you know it's 
safe.  I recently learned that the system call to initiate software suspend 
is a modified reboot call, ala:


I'm not saying this is a GOOD thing, just that it's doable.  (As root, 


More information about the busybox mailing list