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 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? 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