<br><br>2007/11/12, Kir Kolyshkin <<a href="mailto:kir@openvz.org">kir@openvz.org</a>>:<br>> Joan wrote:<br>> > Following <a href="http://kb.swsoft.com/article_130_648_en.html">http://kb.swsoft.com/article_130_648_en.html
</a><br>> > I get " unrecognized option `--bindmount_add'" so I guess that in<br>> > openVZ it works different.<br>> > There was no message in the list related to this.<br>> > Anyone knows if there is a command for that?
<br>> ><br>> <br>> Try to search <a href="http://forum.openvz.org">forum.openvz.org</a>. If you will find the working solution,<br>> please document it on <a href="http://wiki.openvz.org">wiki.openvz.org</a>
.<br><br>I downloaded the mailing list archives since 2005 and couldn't find a solution, now I'm looking in the forums and there's something at least interesting:<br><a href="http://forum.openvz.org/index.php?t=msg&goto=12999&&srch=noexec#msg_12999">
http://forum.openvz.org/index.php?t=msg&goto=12999&&srch=noexec#msg_12999</a><br><br>Quote:<br><br>white:/# mount -t tmpfs -o noexec,nosuid tmpfs /tmp/<br>white:/# cat /proc/mounts<br>simfs / simfs rw 0 0<br>proc /proc proc rw 0 0
<br>sysfs /sys sysfs rw 0 0<br>devpts /dev/pts devpts rw 0 0<br>tmpfs /dev/shm tmpfs rw 0 0<br>tmpfs /tmp tmpfs rw,nosuid,noexec 0 0<br><br>It seems to do the trick<br><br>Next step would be to permanently add it to the fstab
<br># UNCONFIGURED FSTAB FOR BASE SYSTEM<br>tmpfs /tmp tmpfs noexec,nosuid 0 0<br>tmpfs /var/tmp tmpfs noexec,nosuid 0 0<br><br>At this moment I can't reboot the veid, tomorrow I'll try and see if data in fstab remains in the text file after rebooting.
<br>