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

From: Stephen C. Tweedie
Date: Tue Jun 12 2007 - 11:16:25 EST


Hi,

On Sun, 2007-06-10 at 18:27 +0000, Pavel Machek wrote:

> > Once a f/s is read-only, there should be NO writing to
> > it. Right?
>
> Linux happily writes to filesystems mounted read-only. It will replay
> journal on them.

Only at mount time, not on unmount; and it does check whether the
underlying device is truly readonly or not first (assuming
bdev_read_only() is working on the device in question.)

--Stephen


-
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/