Gentoo Archives: gentoo-dev

From: Drake Wyrm <wyrm@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: use of the /run directory
Date: Tue, 17 May 2011 22:27:17
Message-Id: 20110517222611.GA652@fraenk
In Reply to: Re: [gentoo-dev] rfc: use of the /run directory by Nirbheek Chauhan
1 Nirbheek Chauhan <nirbheek@g.o> wrote:
2 > 2011/5/18 Olivier Cr??te <tester@g.o>:
3 > > The main reason is that you want /run to be writable super early in the
4 > > boot process, before even / has been fscked and re-mounted. That means
5 > > you can do stuff like starting udevd in parallel with fsck of / which
6 > > means faster boot. This is one of the things required to get 1 second
7 > > boot.
8 > >
9 > > See http://lwn.net/Articles/436012/
10 > >
11 >
12 > Related is that you don't need to manually wipe /tmp /var/run
13 > /var/lock via a service. They're automatically wiped when you reboot.
14 > This saves time during bootup.
15
16 Even if you don't have to wipe them with a service, you're going to need
17 to mount them with a service. You'll need to mount /run as tmpfs, create
18 the /run/lock directory, and then mount /run/lock as tmpfs. Do you
19 really want to add that to localmount?
20
21 --
22 Confucius is inscrutable.
23 God is ineffable.
24 Beer is inevitable.

Replies

Subject Author
Re: [gentoo-dev] rfc: use of the /run directory Marc Schiffbauer <marc@×××××××××××.net>
Re: [gentoo-dev] rfc: use of the /run directory Nirbheek Chauhan <nirbheek@g.o>
Re: [gentoo-dev] rfc: use of the /run directory William Hubbs <williamh@g.o>