From owner-freebsd-current@FreeBSD.ORG Sat Mar 31 01:59:31 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38151106564A for ; Sat, 31 Mar 2012 01:59:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 080FA8FC12 for ; Sat, 31 Mar 2012 01:59:30 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so2802402pbc.13 for ; Fri, 30 Mar 2012 18:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=S8+HGgCD3yj7OaHrGbNTK1ZiUDJVP9qxqtmlsWkWcns=; b=H4eu6O23YxKs9YeKgVv1rmDWyl3DWybXgXyJXvGEyfO+jm84Q+KuraMCh1/DtQVUs0 5zj0fRnbaoT0XVofOiXV5NmHum8NQkaRPLs7WEoT2GHDcLYTfXieZsuqjlBsLxc+3wST 3C8BHvaV5GRpIeXcTyea9IYVJkI7qmR3JhMQqoqJIQGYybyzfWuoc8vkatF2I6Za5aoO 3XFis++0PkgzEY2X8OP7fi6WY3qCCbrb5e0BG9nx8qCan6U6KJuK+scvsC7j+dSePXQx BiZR6MFKbV8ZgORlpW1zuZTsRVmEsqfxoyajqyQ0VM8oO4TGG19Vo3HMBNuD3WBsSSMW gj6Q== MIME-Version: 1.0 Received: by 10.68.235.106 with SMTP id ul10mr1944352pbc.91.1333159170471; Fri, 30 Mar 2012 18:59:30 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.143.19.19 with HTTP; Fri, 30 Mar 2012 18:59:30 -0700 (PDT) In-Reply-To: <4F765682.5040707@gmail.com> References: <4F746F1E.6090702@mail.zedat.fu-berlin.de> <4F74BCE8.2030802@vangyzen.net> <20120330.151848.41706133.sthaug@nethelp.no> <4F765682.5040707@gmail.com> Date: Fri, 30 Mar 2012 18:59:30 -0700 X-Google-Sender-Auth: ax1h_g4dTBI9dMZG4okyX6GGA_Y Message-ID: From: Adrian Chadd To: deeptech71@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: Using TMPFS for /tmp and /var/run? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2012 01:59:31 -0000 On 30 March 2012 17:57, 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. Adrian