Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Bind mounts

6 bytes added, 04:33, 16 April 2010
Read-only bind mounts
Since Linux kernel 2.6.26, bind mounts can be made read-only. The trick is to first mount as usual, and then remount it read-only:
mount -n --bind /home $VZDIR/root/777/home mount -n --bind -oremount,ro $VZDIR/root/777/home
== See also ==
11
edits