OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Full-Disclosure] Reality, humor, and history (was Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER

From: Andrew Farmer (andfarmteknovis.com)
Date: Wed Jan 12 2005 - 13:57:27 CST


On 12 Jan 2005, at 01:36, Valdis.Kletnieksvt.edu wrote:
> (*) My all-time favorite "Close, but no ceee-gar" was the advice
> column for a
> Unix journal where the author *remembered* the old "3 syncs before
> halt"
> adage - but got it Very Wrong by advising "sync;sync;sync;halt". Bonus
> points if you can remember (a) the *original* reason for the advice
> *and*
> (b) how this version was Very Wrong (there's *multiple* answers for
> this one ;)

As far as the reason this version was so Very Wrong, the main reason
for syncing three times was the delay introduced by retyping a command
thrice. Typing the whole sequence as a single line wouldn't introduce
any significant delay, making the whole thing useless.

Most modern systems, however, will at least make a best-effort attempt
to push all dirty blocks out to disk on a sync(), as well as on halt.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB5YEnPa6RRaKl0ScRAkfKAJ4pA5cJKFEWoEPIgna4s5tU1mIWAgCfWJ+0
1Oqa6tCLJwlZdho/kE5qDnc=
=79Wq
-----END PGP SIGNATURE-----

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html