Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!uunet!olivea!apple!agate!shelby!neon!Gang-of-Four!dkeisen From: dkeisen@Gang-of-Four.Stanford.EDU (Dave Eisen) Newsgroups: comp.unix.internals Subject: Re: What does sync() _really_ do? Message-ID: <1990Dec26.165455.9315@Neon.Stanford.EDU> Date: 26 Dec 90 16:54:55 GMT References: <341@cti1.UUCP> Sender: news@Neon.Stanford.EDU (USENET News System) Organization: Sequoia Peripherals Lines: 18 In article pcg@cs.aber.ac.uk (Piercarlo Grandi) writes: > >Yep. The *only* portable way to make sure that the buffers associated to >a file's block are freed is to unmount the filesystem on which the file >resides. > Is unmounting a filesystem an easier way than doing enough reads from other parts of the disk to overwrite all of the buffers in the cache? -- Dave Eisen dkeisen@Gang-of-Four.Stanford.EDU 1447 N. Shoreline Blvd. Mountain View, CA 94043 Anybody have an extra New Year's ticket? (415) 967-5644 (I can hope, can't I?)