[BusyBox] Questions about init.

Rob Landley rob at landley.net
Mon Jul 5 10:44:57 UTC 2004


Okay, I have a few questions about init.

1) Why device_open()?  How could attempting to open a console file cause init 
to hang?  (What, /dev living on NFS or something?)  Is this a problem anybody 
ever actually encountered?

2) SIGCHLD is blocked during the fork() at the start of run().  Why?  The new 
process shouldn't be anybody's parent process yet.  (If stuff got reparented 
to init, then PID 1 should get the signal, not the new child.)  It unblocks 
the signal immediately after the fork, so it if there was a pending signal it 
gets delivered before we've actually reset any signal handlers anyway, so...?

Rob
-- 
www.linucon.org: Linux Expo and Science Fiction Convention
October 8-10, 2004 in Austin Texas.  (I'm the con chair.)




More information about the busybox mailing list