Path: utzoo!utgpu!watmath!uunet!lll-winken!killer!wnp From: wnp@killer.Dallas.TX.US (Wolf Paul) Newsgroups: unix-pc.general Subject: /etc/shutdown Message-ID: <8014@killer.Dallas.TX.US> Date: 5 May 89 12:18:37 GMT Reply-To: wnp@killer.Dallas.TX.US (Wolf Paul) Distribution: na Organization: The Unix(R) Connection BBS, Dallas, Tx Lines: 26 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@killer.dallas.tx.us or wnp%dcs@texbell.swbt.com