Changes
→Read-only bind mounts
In Debian 2.6.32-5-openvz-686 kernel you need to add the sourcedirectory also: mount -n --bind -oremount,ro '''/home''' $VZDIR/root/777/home
Sometimes it is usefull to have a folder read-only mounted in a VPS, but also be able to put files in that directory. If you want that, just create an other directory and simlink the read only files into that folder:
mkdir /addfileshere
ln -s /home/* /addfileshere/
== See also ==