Why is one sync() not enough?

From: Nico Schottelius
Date: Tue Jun 14 2005 - 05:46:15 EST


Hello again!

When my system shuts down and init calls sync() and after that
umount and then reboot, the filesystem is left in an unclean state.

If I do sync() two times (one before umount, one after umount) it
seems to work.

Can someboy explain that to me?

Architecture is ppc and x86.

Nico

--
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org

Attachment: pgp00000.pgp
Description: PGP signature