This may be heresy, but I am irritated by the amount of time
linux spends shutting down. I am running SuSE 6.1, and I generally boot
up, work, and close off, so it may happen a number of times a day.
Linux (Heresy again) sits there thinking it is the central hub of a
multitasking universe; these delusions of grandeur are all very well,
and comforting to an op system,  but I wonder what I could trim out of a
closedown sequence something like the following, which is packed with
pauses.

Goung down for reboot NOW  !!!
Sending all processes the TERM signal 
Sending all processes the KILL signal 
Shuitting Down (each daemon is individually closed off, most of which
are quite  idle anyhow; somewhere between 6 and 12 of these on the
average system I suppose)
 Sending all processes the TERM signal again
Sending all processes the KILL signal again
Then it runs a script /init.d/halt.local 
Unmounts all drives and /proc

THEN it actually shuts down. I know the drives have to be dismounted.
How much of the rest is really necessary? When I screw up and crash the
thing, the only thing to suffer is drive integrity, and fsck wags its
finger at me again. No program complains at all. The waiting  states are
surely unnecessary - it doesn't have to shut down a remote station on
Mars, just itself.

--
          Regards,


          Declan Moriarty

Reply via email to