<br><br>2007/11/12, Kir Kolyshkin &lt;<a href="mailto:kir@openvz.org">kir@openvz.org</a>&gt;:<br>&gt; Joan wrote:<br>&gt; &gt; Following <a href="http://kb.swsoft.com/article_130_648_en.html">http://kb.swsoft.com/article_130_648_en.html
</a><br>&gt; &gt; I get &quot; unrecognized option `--bindmount_add&#39;&quot; so I guess that in<br>&gt; &gt; openVZ it works different.<br>&gt; &gt; There was no message in the list related to this.<br>&gt; &gt; Anyone knows if there is a command for that?
<br>&gt; &gt;<br>&gt; <br>&gt; Try to search <a href="http://forum.openvz.org">forum.openvz.org</a>. If you will find the working solution,<br>&gt; 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&#39;t find a solution, now I&#39;m looking in the forums and there&#39;s something at least interesting:<br><a href="http://forum.openvz.org/index.php?t=msg&amp;goto=12999&amp;&amp;srch=noexec#msg_12999">
http://forum.openvz.org/index.php?t=msg&amp;goto=12999&amp;&amp;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 &nbsp; &nbsp;&nbsp; /tmp &nbsp; &nbsp;&nbsp; tmpfs &nbsp; &nbsp;&nbsp; noexec,nosuid &nbsp; &nbsp;&nbsp; 0 &nbsp; &nbsp;  0<br>tmpfs &nbsp; &nbsp;&nbsp; /var/tmp &nbsp; &nbsp;&nbsp; tmpfs &nbsp; &nbsp;&nbsp; noexec,nosuid &nbsp; &nbsp;&nbsp; 0 &nbsp; &nbsp;  0<br><br>At this moment I can&#39;t reboot the veid, tomorrow I&#39;ll try and see if data in fstab remains in the text file after rebooting.
<br>