Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!cornell!uw-beaver!mit-eddie!ll-xn!ames!ptsfa!ihnp4!occrsh!uokmax!rmtodd From: rmtodd@uokmax.UUCP (Richard Michael Todd) Newsgroups: comp.os.minix Subject: Re: The Adventures of Minix on the AT&T PC6300 Message-ID: <607@uokmax.UUCP> Date: Fri, 26-Jun-87 16:39:09 EDT Article-I.D.: uokmax.607 Posted: Fri Jun 26 16:39:09 1987 Date-Received: Sat, 27-Jun-87 11:52:24 EDT References: <1226@chinet.UUCP> Reply-To: rmtodd@uokmax.UUCP (Richard Michael Todd) Organization: University of Oklahoma, Norman Lines: 31 Keywords: Minix shutdown fsck In article <1226@chinet.UUCP> jcs@chinet.UUCP (John C. Sucilla) writes: >Since Minix does not have a shutdown script, it is necessary for >hard disk user's to stop the system as described below to prevent >file system damage. >1) Issue a sync. >2) Immediately kill -9 the /etc/update process (PID 12). >3) Unmount all file systems. >4) Stop the system. >Since I began using this procedure, fsck has not had to do a single >repair. Yea, I know... It's common sense, but maybe this will help >somebody somewhere! I doubt if all this caution is really necessary. I just issue a sync, wait for the I/O to finish, and then reboot (CTRL-ALT-DEL) or switch off power. You shouldn't have to kill update, since all update does is do a sync call every 30 sec., and once the file system is sync'ed once, subsequent sync calls will do nothing unless some process has done some writing to the disk. I've been using the "sync once and reboot" procedure and have only had fsck report problems when MINIX actually crashed/hung when executing a program such that I couldn't shut down the system in an orderly fashion. While the procedure you give won't hurt anything, only the sync command is really needed. >Did anybody get the complete source for the version of ed that was >recently posted? I seem to be missing several functions starting at >dowrite() in the makefile. There was a reposting of the ed files recently--apparently some sites got a mangled version. -------------------------------------------------------------------------- Richard Todd USSnail:820 Annie Court,Norman OK 73069 UUCP: {allegra!cbosgd|ihnp4}!okstate!uokmax!rmtodd