[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Killing processes on system shutdow

From: Roland McGrath
Subject: Re: Killing processes on system shutdow
Date: Thu, 23 Aug 2001 18:16:30 -0400 (EDT)

> 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.

You misunderstand the point of the function.
All that sort of friendly shutdown has already taken place when you get there.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]