xfs
[Top] [All Lists]

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

To: XFS mail list <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:58:24 +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=Ey2MAqILuN7IFz+MjQkwPuN7J7w2MD69VZ0cNla1F28=; b=cmL5ahS+LGauidwYPBddHsafpMXk8KEYNZK9HtQsuf0Vxj8Emwb6Tl50y41mrutSe7 MeeqAVXE0uH4TGdnLZCKUO7/bIsgI8Yad2CyYWyGGBvQY6vkPWBb8ChAHP1LLTas3CDc RFILVQUm7RW5fjywFndxGcylsnZOBBVeNXVllDJ4YpwmAykjeyp95CWl7YW3TeIKq8RW KADnE6LRvz/pCV5/dm9qYLH8GrWlBjgPYdH582DAib1eDMndMPQl/NYzwiGceAHf3L/9 HFsiTC9NkOhiwX0HVB+yDolr1xvi4roNL8f7C/4pdsfUDMbEczI0084U3OQ389d8t5Ep vjwA==
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.
> 
> --D

That's my understanding, too, but after some point in time, not
initially. 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 also have the vague feeling that once (years ago) 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)

iEYEARECAAYFAlZyzYkACgkQtTMYHG2NR9VDNwCfehM5NHMAgZuuzLf99kKulLKI
AkAAnjt4mZngHZdH5v60T+P6tnnFzUiO
=Pw+f
-----END PGP SIGNATURE-----

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