[CentOS] Deleting contents of /tmp on shutdown

Larry Brower larry-lists at maxqe.com
Sat Dec 12 23:46:59 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Dukes wrote:
<snip>
>>
>> I have the /tmp in memory, which effectively deletes 
>> everything on reboot. Maybe another solution?
>>
>> Cheers Didi
> 
> Hi Didi,
> 
> I read that was an option also.  How would I move my /tmp to RAM?
> 
> TIA
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

+1 for tmpfs :)

Heres an example:

http://www.howtoforge.com/storing-files-directories-in-memory-with-tmpfs


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJLJCtyAAoJEJgMwfbkYL1RUlIQAIF3TrtIqEnWPaXmkiyml5uq
mMLDM22i6cpvqp5XbkSyS7PJXBEBfn9GfNeEYF+H9KBldyjDbVNpxsIzhkSGDoFQ
JsZqnh7BZyIvfOLsoxk9bjj8UHldfLKw3h7n/JJ6lFUhk16GgZFeZBqanY3osvFJ
REASuLaMIcDso6LOA9Ckq6kJOy2SBrc5JD9UWxvjp6a1FnkwxFoBEJGsiC1zicU9
1nWy0EwcTPLKCSnAy11uX+VBCjUOg7lMMspN0p8N0PmHoZcPdY9M1wftFZ2jX1VL
OAGB5z34REmgyEHr/8k1G4f/Rm7tzbEKgmxXM2bc5CASs7t+kNYrqjk+uuGMyP0z
K3uIQjGn+gqsvU0FzNGc7iWuVupyzrpJECkkT8CvORjmUuskgpeZpmp7gum+knVp
mgdoqv/We8gBBEt3Myvq6tlv38iCEIlJomaca2HHytSjie58FbS9QBPWrmJo0RBd
5T2xiBI3pbl0mh0bIkdIY90cVLYuBE6wflV49F2ZW5kdNeLtDOCgv5ihTdNs5iHt
EoMrFdyx4W6znpP2TeToGmKZndXobHpS5pm2bvZjAX2IbWWVd+eZ1MiF/c9GzyMW
tUNLoEgzLfLCU+tPumxaZwo/f1iK+7cyw8uzk6NDc1zoV/bJI8erbgwIYz/hzcAb
rgnLjFR2c71oiox2/BOK
=7pPE
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5596 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.centos.org/pipermail/centos/attachments/20091212/919528bf/attachment.bin 


More information about the CentOS mailing list