Re: reboot(2) syncing disks (was Re: All the problems with...update)

Olaf Titz (olaf@bigred.inka.de)
Fri, 21 May 1999 10:19:17 +0300


> Ah! fsck is done! Now tell me... do you remember to type `sync' and wait
> thirty seconds before rebooting? Init won't do it for you, there is no
> init on the emergency rescue disk.

That's brokenness in fsck then. It should call sync() when it's done
itself, and the reason is obvious. Like with mkfs and mkswap.

You can run into the same problem when you push the reset button
instead of letting the kernel do it for you.

Olaf (sync; sync; sync; reboot anyone? :-)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/