Re: /hurd/init and /hurd/proc
Justus Winter, le Tue 25 Jun 2013 17:47:49 +0200, a écrit :
> This special interface they both use and the fact that init does lot's
> of process related things might be an indication that the seperation
> does more harm than good. It seems to make the code more complex, and
> fixing the issue of killing essential processes will probably involve
> adding more specialized messages that are only used by those two
> processes. Is there a benefit of having them separated?
I don't see a benefit either, particularly given when we would use
sysvinit's init for unix init tasks. Anybody?
> About the pid 1 issue, I thought about patching the proc server to
> reserve pid 1 for sysvinit and just make our init pid 4 or
> something. Pino mentioned something about hardcoded assumptions of
> which hurd server has which pid. Where would I find such assumptions
> documented? Or could you provide anything from the top of your head?
I don't think it's written anywhere except in people's debug.txt file,
so changing it wouldn't harm.