Re: Set a directory in tmpfs in a VE [message #21802 is a reply to message #20553] |
Tue, 16 October 2007 12:36 |
ugob
Messages: 271 Registered: March 2007
|
Senior Member |
|
|
rickb wrote on Thu, 20 September 2007 14:01 | From in the VE context, try this:
mount -t tmpfs -o noexec,nosuid tmpfs /tmp/
|
I tried it but some configuration files kept on falling back to their default configuration, so I removed all this.
Really weird. While I had /var/spool/MailScanner/incoming and /tmp on tmpfs, the file /etc/MailScanner/mailscanner-mrtg was modified, and saved.
A few hours later, the modifications I've made are not there anymore.
I removed the tmpfs configuration and now working on the filesystem directly. Is this a bug? Could I do it safely on the HN, I have access?
Regards,
Ugo
Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
|
|
|