Re: read-only partitions: does the policy apply to all metadata ?

From: Alan Cox
Date: Tue Mar 10 2009 - 13:33:57 EST


On Tue, 10 Mar 2009 13:22:39 -0400
Valdis.Kletnieks@xxxxxx wrote:

> On Tue, 10 Mar 2009 17:26:44 BST, porte64@xxxxxxx said:
> > When a partition is mounted as read-only, does the kernel
> > really prevent ANY byte to be written to it, including
> > any metadata ?
>
> It's very hard to come up with a workable way to do a true read-only
> mount of a journaled filesystem such as ext3 - what do you do if there's
> anything in the journal that needs to be replayed?

Replay it to a snapshot backed by the r/o fs ...
--
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/