Re: Automatically mount or remount EXT3 partitions with EXT2 when alaptop is powered by a battery?

From: Stephen C. Tweedie (sct@redhat.com)
Date: Tue Jul 23 2002 - 06:14:39 EST


Hi,

On Sat, Jul 06, 2002 at 02:58:35AM +0200, Pavel Machek wrote:

> So... If I do fsync("/"), will it flush everything? Probably not.

Right, it will only do the root fs.

> Is there some easy way to sync everything to disk and wait for
> completion? [On suspend-to-something I'd llike to do that for
> additional safety.

No, the VFS write_super() method currently has no wait-for-completion
mechanism.

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



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:42 EST