Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ames!dftsrv!jagubox.gsfc.nasa.gov!jim From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Newsgroups: comp.unix.aux Subject: Re: A/UX experiences Keywords: student A/UX Message-ID: <4579@dftsrv.gsfc.nasa.gov> Date: 12 Mar 91 11:54:53 GMT References: <1991Mar5.204628.13766@usenet.ins.cwru.edu> <29269@cs.yale.edu> <2411@taurus.BITNET> Sender: news@dftsrv.gsfc.nasa.gov Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Organization: NASA/Goddard Space Flight Center Lines: 40 In article <2411@taurus.BITNET> shani%math.tau.ac.il@TAUNIVM.TAU.AC.IL (Oren Shani) writes: }In article <29269@cs.yale.edu> ewing-martin@cs.yale.edu (Martin Ewing) writes: }> }>-People are used to powering off Macs whenever they run into problems, like }>hung machines, or when they leave the lab. We find that there's about a }>1 in 3(?) chance of corrupting our 80 MB hard disk when they do this, and }>we've ended up reloading the whole system several times. }> } } I wonder if there is a way to make A/UX automaticly fsck it's disk in }startup, like B.S.D derived systems do. I noticed that many times (especially }after using the 24-bit desktop), partitions are marked dirty for no reason }at all, and a simple fsck -y fixes the problem... } Yep, there is... To make sure that the Root file system is fsck'ed, make sure that under SASH's Booting Preferences menu, the AutoRecovery Command is "fsck /dev/default". This FORCES a fsck on Root on the initial SASH boot-up sequence. I also recommend setting the AutoLaunch command to "launch -v -s" since this gives more info when A/UX starts up, and the /etc/*rc files are run (and the addi- tional fsck's are made on the other file systems) Now, to force A/UX to fsck your other FS's, edit the /etc/bcheckrc file... basically, you just want this run-file to call /etc/fsck (no options)... this will force a fsck on all FS's defined in /etc/fstab and NOT set-up as "ignore" (as is the Root FS.... this is okay since Root is checked at SASH time :) There you go! A/UX now fully fsck's each file system, whether marked clean or NOT! -- ======================================================================= #include =:^) Jim Jagielski NASA/GSFC, Code 711.1 jim@jagubox.gsfc.nasa.gov Greenbelt, MD 20771 "Exploding is a perfectly normal medical phenomenon. In many fields of medicine nowadays, a dose of dynamite can do a world of good."