home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / folklore / computer / 16433 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.6 KB  |  38 lines

  1. Newsgroups: alt.folklore.computers
  2. Path: sparky!uunet!emba-news.uvm.edu!sadye!wollman
  3. From: wollman@sadye (Garrett Wollman)
  4. Subject: Re: sync; sync; sync; was Re: Computer Superstition
  5. Message-ID: <1992Nov19.134510.16559@uvm.edu>
  6. Sender: news@uvm.edu
  7. Organization: University of Vermont, EMBA Computer Facility
  8. References: <10292323.7317.11306@kcbbs.gen.nz> <1992Nov18.132507.22731@bnr.uk> <NICKEL.92Nov18181710@desaster.cs.tu-berlin.de>
  9. Date: Thu, 19 Nov 1992 13:45:10 GMT
  10. Lines: 26
  11.  
  12. In article <NICKEL.92Nov18181710@desaster.cs.tu-berlin.de> nickel@cs.tu-berlin.de writes:
  13. >The sync(1) program does nothing but invoke the sync(2) system call.
  14. >This call writes the contents of modified disk buffers back to the
  15. >disk. The manual (SunOS, in this case) of sync(2) states:
  16. >
  17. >    BUGS
  18. >     The writing, although scheduled, is not necessarily complete
  19. >     upon return from sync().
  20. >
  21. >An todays fast machines with fast disks this won't matter -- just type
  22. >sync; and before you've had time to do something else the disk buffers
  23. >will be safe.
  24.  
  25. Or today's modern operating systems which know to sync their disks
  26. before rebooting or halting.  From reboot(1):
  27.  
  28.      -n      option avoids the sync.  It can be used if a disk or the proces-
  29.              sor is on fire.
  30.  
  31. -GAWollman
  32.  
  33. -- 
  34. Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
  35. wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance.
  36. uvm-gen!wollman      | It is a bond more powerful than absence.  We like people
  37. UVM disagrees.       | who like Shashish.  - Claude McKenzie + Florent Vollant
  38.