hoi :) On Tue, Jun 14, 2005 at 11:41:41AM +0200, Nico Schottelius wrote: > 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. unmounting the filesystem writes to the disk. If you don't wait for those writes to reach the disk, then you still have a dirty filesystem. -- Martin Waitz
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: Why is one sync() not enough?
- From: Jesper Juhl <[email protected]>
- Re: Why is one sync() not enough?
- References:
- Why is one sync() not enough?
- From: Nico Schottelius <[email protected]>
- Why is one sync() not enough?
- Prev by Date: Re: [PATCH 1/2] lzma support: decompression lib, initrd support
- Next by Date: Re: [PATCH 2.6.12-rc6] add vr41xx gpio support
- Previous by thread: Why is one sync() not enough?
- Next by thread: Re: Why is one sync() not enough?
- Index(es):