From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QMRON-0007JS-DS for garchives@archives.gentoo.org; Tue, 17 May 2011 21:01:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E5E11C2B5; Tue, 17 May 2011 21:01:15 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id DDF6E1C1E9 for ; Tue, 17 May 2011 21:00:47 +0000 (UTC) Received: by wyi11 with SMTP id 11so919442wyi.40 for ; Tue, 17 May 2011 14:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=FNNNP2vTcctW4kTswMm0xVx7wEJZJPiVHwtSQkuUTSI=; b=XPlx4MxyF9ffB3+r/6PSywou3vRjUi5t0IXiR/zuyOCoWFg7A0IPT56br1q3MZxmnP hEpXeX67qM6eBUbBbRqFFvP7b/oWGlbxyV6NW3hj9wWx62R6JsJXWtWGNONMR7bYaOu0 tFMxNQAj/uh/P0VI/aQu680JhiB4m0ZAC2i8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=jdc9XCN46RmRerYmt/XZB0nr8Nih5i/cpEMVresBImZLbRChVDEFsOacFHIXyWNJhV mtkP5u79jcY+WIqh9J7u+TJ+6NITxEbMplnO3Trg5eOuQFllFTeV95cGOKLp01RpCHA0 hF7MzrBPigicDphoBJzSZMrxg5GcdZj8CDNME= Received: by 10.216.230.76 with SMTP id i54mr1004454weq.108.1305666047064; Tue, 17 May 2011 14:00:47 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Sender: nirbheek.chauhan@gmail.com Received: by 10.216.23.79 with HTTP; Tue, 17 May 2011 14:00:27 -0700 (PDT) In-Reply-To: <1305665646.2645.5.camel@TesterTop4> References: <20110517165748.GA3266@linux1> <1305655899.18096.4.camel@tablet> <20110517192056.GA13002@Vereniki.lan> <20110517202059.GA13735@Vereniki.lan> <1305665646.2645.5.camel@TesterTop4> From: Nirbheek Chauhan Date: Wed, 18 May 2011 02:30:27 +0530 X-Google-Sender-Auth: F6HdhRpsm96FN7wJ5Vt0OxkqN0c Message-ID: Subject: Re: [gentoo-dev] rfc: use of the /run directory To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 031012206c244b7bc9db1589cd5de556 2011/5/18 Olivier Cr=C3=AAte : > On Tue, 2011-05-17 at 23:20 +0300, Panagiotis Christopoulos wrote: >> Yes, I can do that. But the real question here, from my perspective, is >> why we need /run, /var/run or /tmp on tmpfs. "Other distros do it" is >> not an answer. > > The main reason is that you want /run to be writable super early in the > boot process, before even / has been fscked and re-mounted. That means > you can do stuff like starting udevd in parallel with fsck of / which > means faster boot. This is one of the things required to get 1 second > boot. > > See http://lwn.net/Articles/436012/ > Related is that you don't need to manually wipe /tmp /var/run /var/lock via a service. They're automatically wiped when you reboot. This saves time during bootup. --=20 ~Nirbheek Chauhan Gentoo GNOME+Mozilla Team