Re: read only bind mount ignores ready only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 12, 2013 at 09:59:10AM -0500, Phillip Susi wrote:
> -----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?

 Yes, but it is not in the git tree yet (I'd like to wait for Miklos's
 reply).

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux