public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Andreas Dilger <adilger@turbolinux.com>,
	Jeffrey Keller <jeff@commerceflow.com>
Cc: sct@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: Reasons to honor readonly mount requests
Date: Thu, 8 Feb 2001 00:49:38 +0100	[thread overview]
Message-ID: <20010208004938.E189@bug.ucw.cz> (raw)
In-Reply-To: <3A7B7F8C.67C2B603@commerceflow.com> <200102030359.f133xrM02216@webber.adilger.net>
In-Reply-To: <200102030359.f133xrM02216@webber.adilger.net>; from Andreas Dilger on Fri, Feb 02, 2001 at 08:59:53PM -0700

Hi!

> > I understand that both ext3fs and
> > reiserfs will try to fix corrupt filesystems (or at least filesystems
> > with unprocessed log entries) in-place even if they're mounted
> > read-only.  Clearly, virtual replay means more work, but -- just for
> > fun -- here are some cases in which it might matter:
> > 
> > 1. You want the disk image untouched for forensic analysis or data
> >    recovery.
> > 2. You don't trust the disk to do writes properly.
> > 3. You don't trust the driver to do writes properly.
> > 4. You want to test a newer or unstable FS implementation w/ option to
> >    go back to the older one.
> 
> Excluding the root fs (which probably isn't involved in these sorts of
> things anyways), you can always turn off the "RECOVERY" flag on the
> filesystem and mount ext3 as ext2, which will not do any recovery.

_If_ you happen to realize that mount -o ro -t ext3 is not really read
only. sct know it may write to filesystem, now I know it; but I
believe that if you asked Joe Admin 

"Linux writes to partition mounted read-only in some cases; is it a
bug?"

he would say

"YES!"
								Pavel

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~2001-02-08 11:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-03  3:48 Reasons to honor readonly mount requests Jeffrey Keller
2001-02-03  3:59 ` Andreas Dilger
2001-02-07 23:49   ` Pavel Machek [this message]

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=20010208004938.E189@bug.ucw.cz \
    --to=pavel@suse.cz \
    --cc=adilger@turbolinux.com \
    --cc=jeff@commerceflow.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sct@redhat.com \
    /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