home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / bsd / 11892 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1023 b 

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!udel!sbcs.sunysb.edu!stark.UUCP!gene
  2. From: gene@stark.uucp (Gene Stark)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Patch00022 is still wrong
  5. Date: 26 Jan 93 19:13:47
  6. Organization: Gene Stark's home system
  7. Lines: 19
  8. Distribution: world
  9. Message-ID: <GENE.93Jan26191347@stark.stark.uucp>
  10. NNTP-Posting-Host: stark.uucp
  11.  
  12. Patch00022 (a patch to init.c from back in the dark ages) is still wrong in
  13. the new patchkit.  It was correct in the diffs originally posted last summer,
  14. but it has never been correct in the patchkit.  In the lines:
  15.  
  16. --- 226,233 ----
  17.               _exit(127);
  18.           }
  19.           while(wait(&status) != pid)
  20. +         while(drain)                /* 31 Jul 92*/
  21. +             pause();
  22.           goto top;
  23.       }
  24.  
  25. The first "while" statement should end up having a semicolon at the end of the
  26. line.  If it is not there, then if fsck fixes disk problems during boot up,
  27. during the subsequent reboot, init starts to bring the system up multi-user,
  28. resulting in a disk "sync" and an infinite reboot cycle.
  29.  
  30.                             - Gene Stark
  31.