/etc/shutdown

Scott S. Bertilson sheldon at quest.UUCP
Tue May 9 11:18:17 AEST 1989


  I'm running 3.5 and 3.51 (2 machines).  Both shut down and reboot
cleanly.  I think the speed of shutdown is due to the fact that there
aren't many daemons running and that it isn't V.3 with it's fancier
scheme of numerous scripts to start/stop daemon processes.  On
3.51, "/etc/profile" contains code to complete the shutdown which
includes a "killall" to zap all processes on the system.
  In addition, I've actually modified my "shutdown" script to
create a "/fastboot" which is noticed and removed by "/etc/rc"
to bypass the "fsck".  I've been running this way for more than
a year and a half without problems...running periodic "fsck"s which
come up clean.  Notice that the file is only created on a clean
shutdown...not on a crash.
  The mod to "/etc/rc" is to change:
	/etc/fsck -pq
to
	rm /fastboot 2>/dev/null || /etc/fsck -pq
The system still claims to be performing a file system check, but
doesn't actually do it...
-- 

Scott S. Bertilson   ...uunet!rosevax!rose3!quest!sheldon
			scott at poincare.geom.umn.edu



More information about the Unix-pc.general mailing list