Clean up / filesystem
four.harrisons at googlemail.com
four.harrisons at googlemail.com
Mon Oct 11 08:43:08 UTC 2010
On Sun, Oct 10, 2010 at 8:40 AM, Mike Clarke
<jmc-freebsd2 at milibyte.co.uk> wrote:
> On Saturday 09 October 2010, Arthur Chance wrote:
>
>> Not if running an X desktop, as all sorts of things get stuck in /tmp
>> that are needed. In single user mode it should be safe, and it
>> probably is when simply running on the console.
>>
>> As a long term solution, if you wish to clear /tmp every reboot add
>> clear_tmp_enable="YES" # Clear /tmp at startup.
>> to your /etc/rc.conf
>
You may also want to consider changing /tmp to be a TMPFS file system
add the line
tmpfs /tmp tmpfs rw,mode=01777 0 0
to /etc/fstab (and remove any other /tmp lines).
A warning will come saying that it is highly experimental - but I've
been running with it for a while now without any issues.
--
Eitan Adler
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list