Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: ccs7@aber.ac.uk (Christopher Samuel)
Subject: Re: why three syncs?
Date: 6 Sep 91 12:03:33 GMT	[thread overview]
Message-ID: <1991Sep6.120333.1490@aber.ac.uk> (raw)
In-Reply-To: 1991Sep04.194822.22074@uvmark.uucp

In article <1991Sep04.194822.22074@uvmark.uucp>
   tom@uvmark.uucp (Tom Rauschenbach) doodled:

> I've noticed that most Un*x folks type the sync command three times before
> shutting down a system.  Is there a folkloric reason for this ?  A technical
> one.  I have a guess, and I wonder if it can be confirmed or refuted.

The reason I remember dates back to when disks were slower than they are
today (they don't make 'em like they used to :-] ), the first sync was
to actually sync the disks, the others were to delay the operator from
powering down until the disks were finished with.

Obviously, for this to work as intended, the filesystem had to be
quiescent, so you'd have to boot all the users off and stop new ones
logging in.

Hence shutdown and /etc/nologin...

- Chris

-- 
Christopher Samuel| RFC: ccs7@aber.ac.uk   ALTERNATE: csamuel@nyx.cs.du.edu
c/o Physics Dept.,| JNT: ccs7@uk.ac.aber   UUCP: *!mcsun!ukc!aber!ccs7
UCW Aberystwyth,  +----------------------------------------------------------
Aberystwyth, WALES| Disclaimer: I mean nothing I say, and say nothing I mean.


  parent reply	other threads:[~1991-09-06 12:03 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-09-04 19:48 why three syncs? Tom Rauschenbach
1991-09-04 21:42 ` Steven M Kosloske
1991-09-04 23:54   ` Dirk Grunwald
1991-09-05  2:36     ` Frederick M. Avolio
1991-09-05 19:40       ` Greg Lehey
1991-09-06  5:19       ` John Dodson
1991-09-05 10:11   ` Jose Pina Coelho
1991-09-07  0:32     ` Russell E. Button
1991-09-08 19:42       ` Win Treese
1991-09-10 21:56         ` Plagarism (was Re: why three syncs?) Dana H. Myers
1991-09-11  3:11           ` Win Treese
1991-09-11 14:20             ` J. Horsmeier
1991-09-11 21:01             ` Dana H. Myers
1991-09-09 10:45       ` why three syncs? J. Horsmeier
1991-09-04 22:57 ` Brian Ellis
1991-09-05  8:01 ` Tom Ploegmakers
1991-09-12 20:33   ` Veteran of the Psychic Wars
1991-09-13  3:32     ` Anthony A. Datri
1991-09-23  3:17       ` Ezra Peisach
     [not found]       ` <1764@geovision.gvc.com>
1991-09-24 19:56         ` Seth Breidbart
1991-09-27  5:14           ` Norman Diamond
1991-09-05 13:45 ` Frank Wortner
1991-09-06 12:03 ` Christopher Samuel [this message]
  -- strict thread matches above, loose matches on Subject: below --
1991-09-06 16:19 Steven M. Stadnicki
1991-09-11 11:27 Bruno Pape
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox