Date: Sun, 10 Oct 2010 11:35:35 +0000 From: four.harrisons@googlemail.com To: jmc-freebsd2@milibyte.co.uk Cc: caleb.stein@me.com, freebsd-questions@freebsd.org, freebsd@qeng-ho.org Subject: Re: Clean up / filesystem Message-ID: <4cb2ce19.2230cc0a.3a8b.6725@mx.google.com>
next in thread | raw e-mail | index | archive | help
On Sun, Oct 10, 2010 at 8:40 AM, Mike Clarke=0D=0A<jmc-freebsd2@milibyte.= co.uk> wrote:=0D=0A> On Saturday 09 October 2010, Arthur Chance wrote:=0D= =0A>=0D=0A>> Not if running an X desktop, as all sorts of things get stuc= k in /tmp=0D=0A>> that are needed. In single user mode it should be safe,= and it=0D=0A>> probably is when simply running on the console.=0D=0A>>=0D= =0A>> As a long term solution, if you wish to clear /tmp every reboot add= =0D=0A>> clear_tmp_enable=3D"YES"=C2=A0=C2=A0# Clear /tmp at startup.=0D= =0A>> to your /etc/rc.conf=0D=0A>=0D=0A=0D=0AYou may also want to conside= r changing /tmp to be a TMPFS file system=0D=0A=0D=0Aadd the line=0D=0Atm= pfs=09=09/tmp=09tmpfs=09rw,mode=3D01777=090=090=0D=0A=0D=0Ato /etc/fstab = (and remove any other /tmp lines).=0D=0A=0D=0AA warning will come saying = that it is highly experimental - but I've=0D=0Abeen running with it for a= while now without any issues.=0D=0A=0D=0A--=20=0D=0AEitan Adler=0D=0A___= ____________________________________________=0D=0Afreebsd-questions@freeb= sd.org mailing list=0D=0Ahttp://lists.freebsd.org/mailman/listinfo/freebs= d-questions=0D=0ATo unsubscribe, send any mail to "freebsd-questions-unsu= bscribe@freebsd.org"=0D=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4cb2ce19.2230cc0a.3a8b.6725>