Re: ext3fs: umount+sync not enough to guarantee metadata-on-disk

From: Chuck Ebbert
Date: Thu Jun 07 2007 - 12:12:56 EST


On 06/07/2007 11:41 AM, Andrew Morton wrote:
>> mount /var/lib/mythtv -oremount,ro
>> sync
>> umount /var/lib/mythtv
>
> Did this succeed? If the application is still truncating that file, the
> umount should have failed.

Shouldn't sync should wait for truncate to finish?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/