Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA87 ; Thu, 28 Jan 93 07:00:26 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!swrinde!gatech!udel!sbcs.sunysb.edu!stark.UUCP!gene From: gene@stark.uucp (Gene Stark) Newsgroups: comp.unix.bsd Subject: Patch00022 is still wrong Date: 26 Jan 93 19:13:47 Organization: Gene Stark's home system Lines: 19 Distribution: world Message-ID: <GENE.93Jan26191347@stark.stark.uucp> NNTP-Posting-Host: stark.uucp Patch00022 (a patch to init.c from back in the dark ages) is still wrong in the new patchkit. It was correct in the diffs originally posted last summer, but it has never been correct in the patchkit. In the lines: --- 226,233 ---- _exit(127); } while(wait(&status) != pid) + while(drain) /* 31 Jul 92*/ + pause(); goto top; } The first "while" statement should end up having a semicolon at the end of the line. If it is not there, then if fsck fixes disk problems during boot up, during the subsequent reboot, init starts to bring the system up multi-user, resulting in a disk "sync" and an infinite reboot cycle. - Gene Stark