Re: Documentation for init

2014-08-28 Thread Rob Landley
On Thu, Aug 28, 2014 at 6:37 AM, Austin S Hemmelgarn wrote: > On 2014-08-26 18:00, Rob Landley wrote: >>> * Doesn't have a session ID until it calls setsid() (not certain about >>> this one) >> >> News to me. >> > I think now (after reading the rest of your e-mail) that I am wrong > about this.

Re: Documentation for init

2014-08-28 Thread Austin S Hemmelgarn
On 2014-08-26 18:00, Rob Landley wrote: > On Tue, Aug 26, 2014 at 7:34 AM, Austin S Hemmelgarn > wrote: >> A lot of LiveCD's make use of this >> to control hardware detection and module loading. The only open file >> descriptors (i believe, I may be wrong) are 0, 1, and 2, all pointing at >> /de

Re: Documentation for init

2014-08-26 Thread Rogelio Serrano
On Tue, Aug 26, 2014 at 11:00 PM, Rob Landley wrote: > I used to maintain busybox init, and am researching to do a "lunchd" > on toybox (mdev is to udev as lunchd is to systemd, think "OSX launchd > without the insane xml file formats", only with at least one less > letter's worth of functionalit

Re: Documentation for init

2014-08-26 Thread Rob Landley
On Tue, Aug 26, 2014 at 7:34 AM, Austin S Hemmelgarn wrote: > On 2014-08-26 01:48, Shea Levy wrote: >> Hi all, >> >> Is there any official documentation of the init process? I'm >> specifically interested in the process state at kernel handoff (argv, >> envp, open fds, etc.) as well as any special

Re: Documentation for init

2014-08-26 Thread Austin S Hemmelgarn
On 2014-08-26 01:48, Shea Levy wrote: > Hi all, > > Is there any official documentation of the init process? I'm > specifically interested in the process state at kernel handoff (argv, > envp, open fds, etc.) as well as any special properties pid 1 has > (parent of all orphans, anything else?). >