Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!floyd!harpo!utah-cs!utah-gr!thomas
From: thomas@utah-gr.UUCP (Spencer W. Thomas)
Newsgroups: net.lang
Subject: Re: How many times do you "sync"?
Message-ID: <1072@utah-gr.UUCP>
Date: Mon, 6-Feb-84 02:48:43 EST
Article-I.D.: utah-gr.1072
Posted: Mon Feb  6 02:48:43 1984
Date-Received: Thu, 9-Feb-84 07:15:21 EST
References: rabbit.2477
Lines: 10

We've got some code in the shutdown routine that prints out how many
disk blocks are still incore waiting to be written.  It prints it about
20 times, and it usually says 1 1 1 1 1 1 1 1 1 1 1 1 ..., but I have
seen once or twice where it was still 3 or 4 at the end...  The only
delay here is the 300baud printing speed, but it still takes it a couple
of seconds to print out, at least.  So, I always try to wait at least
that long.  Typing sync twice (syncsync) takes about this much
time, giving the system time to write out all those blocks.

=Spencer