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