Date: Fri, 30 Mar 2012 22:05:55 -0400 (EDT) From: Benjamin Kaduk <kaduk@MIT.EDU> To: Adrian Chadd <adrian@freebsd.org> Cc: deeptech71@gmail.com, freebsd-current@freebsd.org Subject: Re: Using TMPFS for /tmp and /var/run? Message-ID: <alpine.GSO.1.10.1203302202410.27539@multics.mit.edu> In-Reply-To: <CAJ-VmomD7fem2ceaFH1q5LQ8pOHyWO3G_XW90Q-OoNOvAnRY=g@mail.gmail.com> References: <4F746F1E.6090702@mail.zedat.fu-berlin.de> <4F74BCE8.2030802@vangyzen.net> <CACM2%2B-7Ahn6J=CTASe0g48%2BSD2vvLVd_hG3DRZmvO31QszG5Xw@mail.gmail.com> <20120330.151848.41706133.sthaug@nethelp.no> <CADGWnjXj5W_UCHPExNjxHgq3EZHP1GwocnK4kOHLch5y3gNG0A@mail.gmail.com> <4F765682.5040707@gmail.com> <CAJ-VmomD7fem2ceaFH1q5LQ8pOHyWO3G_XW90Q-OoNOvAnRY=g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Mar 2012, Adrian Chadd wrote: > On 30 March 2012 17:57, <deeptech71@gmail.com> wrote: >> C. P. Ghost wrote: >>> >>> Not clearing /tmp on reboot has been >>> the norm for way too long and it is too late to change now. >> >> >> We either evolve or be in a stalemate forever. > > No, you do it in a sensible, controlled fashion. > > You make it really easy for people to turn on tmpfs by default. Some > distributions of FreeBSD may pick that up, some may not. > > You have some people run with it, find out what software breaks and > start issuing fixes. > > You aim to have that particular default deprecated in a major release. > You make it really easy for users to switch back. You point out that > /tmp was never designed to be persistent across reboots, we're now > making sure that's the case. > > If you feel so inclined, you can add a configuration step in > sysinstall/bsdinstall, to let the user choose. > > The next major release after that, you flip the default to /tmpfs. > > /var/tmp/ is documented to persist across reboots on a normal system. > That require much more discussion. You're changing the default > behaviour. /var/tmp != /var/run But you are entirely correct on the sensible, controlled fashion. -Ben P.S. I am somewhat unconvinced by this: http://wiki.debian.org/ReleaseGoals/RunDirectory
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.1.10.1203302202410.27539>