Path: utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: dupuy@cs.columbia.edu (Alexander Dupuy) Newsgroups: comp.sys.sun Subject: Re: Preen and SunOS 4.0 Message-ID: <8902171717.AA29307@cs.columbia.edu> Date: 1 Mar 89 08:10:18 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 15 Approved: Sun-Spots@rice.edu Original-Date: Fri, 17 Feb 89 12:17:48 EST X-Sun-Spots-Digest: Volume 7, Issue 174, message 10 of 15 One other problem which I noticed with our Sun-2s running 4.0: if you have /usr mounted r/w and the pass # is not 1 (we had it as 2, from suninstall), fsck will run the check as a child. If there is repairable damage on /usr (at this point a mounted filesystem) the child will return 4 to indicate that a reboot should be done. But the parent will return 8 if any of its children return non-zero status, causing rc.boot to fail on the autoboot. The fix is for fsck to |-or it's childrens status together, rather than returning 8 if any are non-zero. The workaround is to make sure that any filesystems mounted when fsck -p runs are checked in pass 1. @alex