Full Disclosure mailing list archives
Re: Reality, humor, and history (was Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER
From: Stormwalker <bruen () coldrain net>
Date: Wed, 12 Jan 2005 13:25:08 -0500 (EST)
Hi Valdis,
Must be my age...
The synch call writes memory/cache resident data to the appropriate disk
files, but does not wait to see if all the dirty buffers in memory have
been written to disk before it completes. There is no good way to know if
all have files have been updated, except to synch a few times. The haltsys
command (Unix V) and shutdown -h issue several synch calls to take care of
the problem. Unix today generally issues an update command which calls
synch every 30 seconds or so in case of a crash or other sudden,
unexpected shutdown (eg fsflush in SVR4). And then there is the potential
problem of remote disks, which can cause time delays.
The metadata inconsistencies are handled differently, partly by the write
order and partly by fsck.
cheers, bob
(*) 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 ;)
--
Dr. Robert Bruen
Cold Rain Technologies
http://coldrain.net
+1.802.579.6288
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Team Pwnge (Jan 11)
- Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER vh (Jan 11)
- Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Andrew Farmer (Jan 11)
- RE: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Paul Kurczaba (Jan 11)
- Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Kevin Reiter (Jan 11)
- Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Micheal Espinola Jr (Jan 11)
- Reality, humor, and history (was Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Valdis . Kletnieks (Jan 12)
- Re: Reality, humor, and history (was Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Stormwalker (Jan 12)
- Re: Reality, humor, and history (was Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Andrew Farmer (Jan 12)
- Re: Reality, humor, and history (was Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Dave Horsfall (Jan 13)
- Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Robert Hogan (Jan 12)
- Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Kevin Reiter (Jan 11)
- Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Martin Allert (Jan 11)
- RE: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER ALD, Aditya, Aditya Lalit Deshmukh (Jan 12)
- RE: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Paul Kurczaba (Jan 12)
- RE: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER ALD, Aditya, Aditya Lalit Deshmukh (Jan 12)
- <Possible follow-ups>
- Re: MORE CRITICAL FLAWS IN MS WINDOWS EXPLORER Kevin Reiter (Jan 11)
