4 ms·
> Why do we need /run? > > There is a need for a writable location to store data > during early boot, before / is made writable (and it > might be read
by adamrmcd 15y ago
> Why do we need /run?
>
> There is a need for a writable location to store data
> during early boot, before / is made writable (and it
> might be read only even during normal operation).
> Currently, no cross-distribution standardized location
> exists for this purpose. Debian uses /lib/init/rw; Ubuntu
> apparently does some very complex stuff linking /var/run
> to /lib/init/rw and using showthrough mounts. Other
> distributions do their own thing. Several programs chose
> not to use /lib/init/rw due to it being non-standard, and
> continued to use /dev/.foo due to udev mounting a tmpfs
> there which could be abused as a data store during early
> boot. /run provides a standard place for these use cases.
So, this is one of those "no user-serviceable parts inside" changes. The purpose is only for developers during bootup.
Would be good, but, let me know if FHS actually accepts this. http://www.pathname.com/fhs/ http://www.pathname.com/fhs/
- ominous_prime 15y agoIIRC, this was hashed out and accepted months ago, but is only now starting to see use in new releases. I for one, was impressed by the decision. Unlike what often happens when multiple distros are involved, everyone seemed come to a consensus quickly, and said "let's make it happen".