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 1QMSuO-0007IR-VN for garchives@archives.gentoo.org; Tue, 17 May 2011 22:38:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9093F1C0F7; Tue, 17 May 2011 22:38:24 +0000 (UTC) Received: from mx10.schiffbauer.net (mx10.schiffbauer.net [188.40.110.137]) by pigeon.gentoo.org (Postfix) with ESMTP id 003571C1F7 for ; Tue, 17 May 2011 22:36:57 +0000 (UTC) Received: from cl-936.ham-02.de.sixxs.net ([2001:6f8:1c00:3a7::2]:39415 helo=lisa.schiffbauer.net) by mx10.schiffbauer.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QMSsq-0006lD-83 for gentoo-dev@lists.gentoo.org; Wed, 18 May 2011 00:36:56 +0200 Received: from mschiff by lisa.schiffbauer.net with local (Exim 4.76) (envelope-from ) id 1QMSsk-0006BY-O1 for gentoo-dev@lists.gentoo.org; Wed, 18 May 2011 00:36:50 +0200 Date: Wed, 18 May 2011 00:36:50 +0200 From: Marc Schiffbauer To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: use of the /run directory Message-ID: <20110517223650.GD9770@lisa.schiffbauer.lan> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20110517165748.GA3266@linux1> <1305655899.18096.4.camel@tablet> <20110517192056.GA13002@Vereniki.lan> <20110517202059.GA13735@Vereniki.lan> <1305665646.2645.5.camel@TesterTop4> <20110517222611.GA652@fraenk> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110517222611.GA652@fraenk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by ClamAV (http://www.clamav.org) X-Spam-Score: -2.3 X-Spam-Level: -- X-Archives-Salt: X-Archives-Hash: a389a46c7cf490639eb972de36b096ff * Drake Wyrm schrieb am 18.05.11 um 00:26 Uhr: > Nirbheek Chauhan wrote: > > 2011/5/18 Olivier Cr??te : > > > 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. > > Even if you don't have to wipe them with a service, you're going to need > to mount them with a service. You'll need to mount /run as tmpfs, create > the /run/lock directory, and then mount /run/lock as tmpfs. Do you > really want to add that to localmount? Why mount /run/lock as tmpfs? If its created within /run its already tmpfs -Marc -- 8AAC 5F46 83B4 DB70 8317 3723 296C 6CCA 35A6 4134