Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Bind mounts

1 byte removed, 10:08, 20 September 2010
Read-only bind mounts
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:
vzctl exec2 777 mkdir /addfileshere && ln -s /home/* /addfileshere/
Now the /addfileshere folder is fully writable and it even feels like it is possible to delete files (but that are only the simlinks).
2
edits