From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd705,2481588b2317173b X-Google-Attributes: gidfd705,public X-Google-Thread: 1164f8,2481588b2317173b X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-09-06 23:41:22 PST Path: gmdzi!unido!mcsun!ukc!dcl-cs!gdt!aber!ccs7 From: ccs7@aber.ac.uk (Christopher Samuel) Newsgroups: alt.folklore.computers,comp.sys.dec Subject: Re: why three syncs? Keywords: bellman sync three Message-ID: <1991Sep6.120333.1490@aber.ac.uk> Date: 6 Sep 91 12:03:33 GMT References: <1991Sep04.194822.22074@uvmark.uucp> Organization: University College of Wales - Aberystwyth - Coleg Prifysgol Cymru Xref: gmdzi alt.folklore.computers:33512 comp.sys.dec:25189 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.