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 1QMUIj-0004DE-8B for garchives@archives.gentoo.org; Wed, 18 May 2011 00:07:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CF6B1C091; Wed, 18 May 2011 00:07:36 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 7CBAA1C14C for ; Wed, 18 May 2011 00:07:02 +0000 (UTC) Received: by ywl2 with SMTP id 2so471101ywl.40 for ; Tue, 17 May 2011 17:07:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=MW1Pdo+kPZQQc5A7ehrZivn6sm/KFO4u8NcSWvHZxk8=; b=GK+sDiQ5XnfkjqpUF9L5BV/uBK5qeQdIvsakMlW6MlB6di+Mtx2TUuEl07jvnhBqg1 7WxXOJhHppxrHzv6yC4JIgFch3Kh6YJfOjiJRAQqz3h12TMZcfHoTvwlAN91BZgDbNai 9Ssjmd9oIUyPAl8CS95zqUAQuRtgyInUZwPSU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=OdT+2B/3bNLdxAa237MrPCvJ7ys8yQaIAjHg3FV4QnlG0WFllcQt+zzCJlWst2aBrH 8hmKTLPS46IX3CnU0X/ENaaGCrfw6ZRiUYytrS4H+8Zki9VPPOA9CcW/rSiD7vTeskQO b0ESN0TByN7I/jcuctG+a/R+oV887N1sqyyFo= Received: by 10.236.173.135 with SMTP id v7mr1291450yhl.418.1305677221846; Tue, 17 May 2011 17:07:01 -0700 (PDT) Received: from linux1 (cpe-76-183-49-63.tx.res.rr.com [76.183.49.63]) by mx.google.com with ESMTPS id b70sm455209yha.88.2011.05.17.17.06.59 (version=SSLv3 cipher=OTHER); Tue, 17 May 2011 17:07:01 -0700 (PDT) Sender: William Hubbs Received: by linux1 (sSMTP sendmail emulation); Tue, 17 May 2011 19:06:56 -0500 Date: Tue, 17 May 2011 19:06:56 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: use of the /run directory Message-ID: <20110518000656.GA4274@linux1> 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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <20110517222611.GA652@fraenk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: 1b97a088bded2e1e9f5c71812539b0ab --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 17, 2011 at 03:26:11PM -0700, Drake Wyrm wrote: > Nirbheek Chauhan wrote: > > 2011/5/18 Olivier Cr??te : > > > The main reason is that you want /run to be writable super early in t= he > > > 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/ > > > > >=20 > > 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 > 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? Actually the code to do this is already in openrc git, and it is much earlier than localmount. Also, you don't need a separate tmpfs for /run/lock since /run is already tmpfs. William --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEUEARECAAYFAk3TDaAACgkQblQW9DDEZThs+wCXTIuYPvR19QZoIOvvquYps8ZC AgCeJTkCPtlvKBrLfDISuXC4LuxW3Bw= =fznC -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--