[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Killing processes on system shutdow
From: |
Marcus Brinkmann |
Subject: |
Re: Killing processes on system shutdow |
Date: |
Fri, 24 Aug 2001 00:24:08 +0200 |
User-agent: |
Mutt/1.3.18i |
On Thu, Aug 23, 2001 at 11:48:56PM +0200, Moritz Schulte wrote:
> Roland McGrath <roland@gnu.org> writes:
>
> > > a question regarding init/init.c::reboot_system(): Why do we only kill
> > > processes, if we _are_ in a subhurd (i.e.: fakeboot is true)?
> >
> > You mean, why not do it for a normal reboot as well?
> > Do you wash your hands right before you get into the shower?
>
> ;)
>
> Hmm, i just thought that 'trying to kill the processes "nicely"'
> (read: 'warn' them) first would be good. If they then wouldn't
> terminate themselves, ok, then the system doesn't care about them
> anymore.
I agree, it has to happen before notify_shutdown, though.
I think maybe it should just go into single user mode, or do the equivalent
killing at least.
Thanks,
Marcus
Re: Killing processes on system shutdow, Marcus Brinkmann, 2001/08/23