/etc/shutdown

Wolf Paul wnp at killer.Dallas.TX.US
Fri May 5 22:18:37 AEST 1989


Having shut down my machine last night because of a thunderstorm overhead,
I noticed again that the /etc/shutdown  procedure on my UNIX-PC is about
ten times as fast as on any other UNIX system I have ever seen.

At the same time, every time I reboot the machine after a shutdown, it fails
fsck the first time round.

On all other systems I have seen, as a rule, if the system was shut down 
properly, it would pass fsck the first time; it would fail only if either it
was simple powered down or reset without running shutdown, or if there were
serious problems with the file system.

I suspect that this is caused by the fact that the UNIX-PC /etc/shutdown
makes no attempt to kill running processes before syncing the system for
the last time, thus the system goes down with open files, etc.

Does anybody have a customized /etc/shutdown which cleans up properly, and
causes the system to reboot with the filesystem in good condition?

Still trying to convert this machine into a real UNIX environment,

Wolf
-- 
Wolf N. Paul * 3387 Sam Rayburn Run * Carrollton TX 75007 * (214) 306-9101
UUCP:   {texbell, killer, dalsqnt}!dcs!wnp
DOMAIN: wnp at killer.dallas.tx.us or wnp%dcs at texbell.swbt.com



More information about the Unix-pc.general mailing list