public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@ubuntu.com>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org, Miklos Szeredi <miklos@szeredi.hu>
Subject: Re: read only bind mount ignores ready only
Date: Thu, 12 Dec 2013 09:59:10 -0500	[thread overview]
Message-ID: <52A9CF3E.1040402@ubuntu.com> (raw)
In-Reply-To: <20131212120544.GJ16572@x2.net.home>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/12/2013 7:05 AM, Karel Zak wrote:
> I have it implemented, so
> 
> mount --bind --read-only /mnt /mnt
> 
> is interpreted as two requests (two mount(2) calls)
> 
> mount --bind /mnt /mnt mount -o remount,bind,ro /tmp

And mount -o bind,ro is the same right?  So you can set up a ro bind
mount in fstab?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSqc89AAoJEI5FoCIzSKrwdhUH/R0lBLjHBtgK6BBrh+ULpRyJ
o78QpMMrDH1qwui/MlCg1gXZe7ue6l7InIEfx3e62VBJTeMtIOUFKJB6Cvqt6/sb
wtP3iUgqTqlD2L4FTmbX5hAB9b1XTYpfko4NIfFy6Xc92jgpPoDjQh9W47q5keQ1
N1HgHAG2iyFWrtkBYsFBFv1tFIKqXF59/oPPF70lQESJldmvYr8FHtSinYISIHAH
Hcc+SVjTlUhQZVRb8teqcy7T8oAZu78NSqLXzgOG9uWooKduRG9Revye2/71tOHz
6PqPxreNXe+SgEHsQ2+R4tl4Rm1ttzMc7voJC04lDSIaxZJtPrxnylQnflndYjk=
=EJIS
-----END PGP SIGNATURE-----

  reply	other threads:[~2013-12-12 14:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11 14:37 read only bind mount ignores ready only Phillip Susi
2013-12-11 16:49 ` Karel Zak
2013-12-12 12:05 ` Karel Zak
2013-12-12 14:59   ` Phillip Susi [this message]
2013-12-12 16:02     ` Karel Zak
2013-12-12 19:42   ` Miklos Szeredi
2013-12-12 21:53     ` Al Viro
2013-12-13 10:45       ` Karel Zak
2013-12-13  8:18     ` Karel Zak

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=52A9CF3E.1040402@ubuntu.com \
    --to=psusi@ubuntu.com \
    --cc=kzak@redhat.com \
    --cc=miklos@szeredi.hu \
    --cc=util-linux@vger.kernel.org \
    /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