11
edits
Changes
→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 ==