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