[Gllug] Building Intranet Kiosks
tet at accucard.com
tet at accucard.com
Thu Jul 12 15:24:00 UTC 2001
>> He quite generously calls sync(), when it's not strictly necessary...
>
>Correct me if I'm wrong, but wasn't syncing three times to disk and
>then going to run level 0 the "ye olde" way of shutting down a UNIX
>system?
Nearly. It was:
sync; sync; sync; <hit big red power button> :-)
The only reason to run sync 3 times was because the command exited
before the data could be guaranteed to be flushed to disk. The logic
was that by the time the third one exited, the first one would have
been able to finish flushing to disk.
Tet
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list