xfs
[Top] [All Lists]

Re: Ideas on unified real-ro mount option across all filesystems

To: xfs@xxxxxxxxxxx
Subject: Re: Ideas on unified real-ro mount option across all filesystems
From: "Carlos E. R." <carlos.e.r@xxxxxxxxxxxx>
Date: Thu, 17 Dec 2015 15:35:18 +0100
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=TDaGqr3rKrGHgIGogQmvCCBIrBNyD6TrJx0AG35yiG0=; b=uZ0f3Kvin5Gg9afSSI7B0bd9oItmmU3h7J5R0Nrd5e4RMv+6k0rpQBqvfARBq0SuU+ 3yfSGljbW8kYj01KhELc6TLriuQyiVkCq9yQTR5xFbI4INinwJKX7CxvnzHgMNXD5it0 py2EKeW1C38DviidQcWy0/+8yIW4S8bRBci9PxwtyqzO3sNWweaj8rOa445/lZCSQkEW S9MAn5HjcEbq9ZA/1Njp/9h4Ers55YN06ImZ6FS4dH+Nxl1PM11GzYPmdjGLyL3olPaI PCpBo7rKushw5mCB4DWNIqrCEwUPGzelor+cuzkTrZm3GWDmMlcFH82vCrubO9zv33ub aJ5w==
In-reply-to: <20151217032652.GD10582@xxxxxxxxxxxxxxxx>
References: <567212DA.8050808@xxxxxxxxxxxxxx> <567228EF.80007@xxxxxxxxxx> <20151217032652.GD10582@xxxxxxxxxxxxxxxx>
Sender: Carlos Robinson <robin.listas@xxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2015-12-17 04:26, Darrick J. Wong wrote:
> On Wed, Dec 16, 2015 at 09:15:59PM -0600, Eric Sandeen wrote:


>> I have always interpreted it as simply "no user changes to the
>> filesystem," and that is clearly what the vfs does with the
>> flag...
> 
> That ("-o ro means no user changes") has always been my
> understanding too.  You /want/ the FS to replay the journal on an
> RO mount so that regular FS operation picks up the committed
> transactions.

That's my understanding, too, but after some point in time. It was
explained to me some years ago after I found out that a disk image
mounted read only was modified. The trick was to make the image '-w'.

I have the vague feeling that once I found a problem when a mount
failed or crashed when the image was ro.


Just a user view on this :-)

- -- 
Cheers / Saludos,

                Carlos E. R.
                (from 13.1 x86_64 "Bottle" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlZyyBsACgkQtTMYHG2NR9VDYACfRd6Zzd60JzX6LoW1F2K4fSai
OJAAoJXgLlcrlFZy1U2MzCBaQ4cz0EmP
=s8oq
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>