mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: porte64@free.fr
Cc: linux-kernel@vger.kernel.org
Subject: Re: read-only partitions: does the policy apply to all metadata ?
Date: Tue, 10 Mar 2009 13:22:39 -0400	[thread overview]
Message-ID: <29610.1236705759@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Tue, 10 Mar 2009 17:26:44 BST." <355270241.1702481236702404399.JavaMail.root@spooler8-g27.priv.proxad.net>

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

On Tue, 10 Mar 2009 17:26:44 BST, porte64@free.fr 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 #2: Type: application/pgp-signature, Size: 226 bytes --]

  reply	other threads:[~2009-03-10 17:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10 16:26 porte64
2009-03-10 17:22 ` Valdis.Kletnieks [this message]
2009-03-10 17:34   ` Alan Cox
2009-03-10 18:08     ` Valdis.Kletnieks
2009-03-15 21:17     ` Pavel Machek
2009-03-10 23:33 ` Robert Hancock
2009-03-12  8:55   ` porte64

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29610.1236705759@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=porte64@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®