Re: read-only bind mounts | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Sat, Apr 12, 2008 at 04:43:11PM +0200, CC.Fan@xxxxxx wrote:
> I was very happy 2.6.24 introduced read only bind mounts, which I really need
I don't think that Linus's tree already include full set of r/o bind
mount patches.
http://thread.gmane.org/gmane.linux.kernel/636905
> for the OpenVZ VMs on my Server. Unfortunately "mount -r --bind /x /y" will
> just do a read-write bind mount.
> /etc/mtab shows 'ro' but /proc/mounts gives rw
> Is this a util-linux-ng issue or an other problem?
I guess you need to use "-o remount,ro" (in case you have a kernel with all
r-o-bind-mounts patches).
Karel
--
Karel Zak <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Netdev] [Ethernet Bridging] [Linux Wireless] [Kernel Newbies] [Memory] [Security] [Linux for Hams] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]