home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10094 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.2 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!giac1.oscs.montana.edu!osycs
  2. From: osycs@giac1.oscs.montana.edu (Craig Spannring)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: reliable write()
  5. Keywords: n
  6. Message-ID: <1992Aug14.233256.21918@coe.montana.edu>
  7. Date: 14 Aug 92 23:32:56 GMT
  8. References: <14001@auspex-gw.auspex.com> <9208141294@umunk.GUN.de>
  9. Sender: usenet@coe.montana.edu (USENET News System)
  10. Organization: Geographic Information & Analysis Center Montana State University
  11. Lines: 15
  12.  
  13. In article <9208141294@umunk.GUN.de> udo@umunk.GUN.de (Udo Munk) writes:
  14. >
  15. >What about calling system("sync"); after a flush of the buffers for
  16. >systems which have neighter?
  17.  
  18. The Ultrix man page for sync(2) says the system call only schedules
  19. all pending disk output.  It may return before the writes actually 
  20. occur.  I assume that /bin/sync relies on sync(2) to perform the actual
  21. work.
  22.  
  23. -- 
  24. ====================================================================
  25.  Six of one, 110 (base 2) of       | Craig Spannring
  26.  another.                          | osycs@giac1.oscs.montana.edu
  27.  ----------------------------------+--------------------------------
  28.