Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Tek) 9/26/83; site orca.UUCP Path: utzoo!linus!decvax!harpo!ulysses!mhuxl!ihnp4!alberta!ubc-vision!uw-beaver!tektronix!orca!andrew From: andrew@orca.UUCP (Andrew Klossner) Newsgroups: net.lang Subject: Re: How many times do you "sync"? Message-ID: <570@orca.UUCP> Date: Fri, 10-Feb-84 14:00:15 EST Article-I.D.: orca.570 Posted: Fri Feb 10 14:00:15 1984 Date-Received: Wed, 15-Feb-84 04:23:08 EST References: rabbit.2477, <1072@utah-gr.UUCP> <610@ihuxq.UUCP> <377@sequent.UUCP> Organization: Tektronix, Wilsonville OR. Lines: 12 Under Unix version 6, the system guaranteed that a call to sync(2) would block until any previous call to sync(2) had completed, including the actual writing of blocks to disk. Thus, when the shell command "sync;sync" finished and you saw another shell prompt, you could be confident that the first sync(2) had completed and all dirty blocks had been flushed. This guarantee has been dropped from later versions of Unix. Its loss is mourned. -- Andrew Klossner (decvax!tektronix!orca!andrew) [UUCP] (orca!andrew.tektronix@rand-relay) [ARPA]