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

From: Valdis . Kletnieks
Date: Tue Mar 10 2009 - 13:23:05 EST


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?

Your best bet is to not worry about the filesystem, and look at flagging the
underlying block device as read-only.

Attachment: pgp00000.pgp
Description: PGP signature