What's this /run directory doing on my system and where does it come from?

Lennart Poettering mzerqung at 0pointer.de
Wed Mar 30 21:42:39 UTC 2011


On Wed, 30.03.11 16:24, Chris Adams (cmadams at hiwaay.net) wrote:

> 
> Once upon a time, Ralf Corsepius <rc040203 at freenet.de> said:
> > How about /var/run ??
> > 
> > What would be wrong with it?
> 
> I believe the need is for something guaranteed to be on the root
> filesystem, and having a separate /var is still valid.
> 
> I'm not sure why this doesn't go under /etc, but if I were king, the
> proliferation of kernel filesystems (proc, sys, cgroup, selinux, etc.)
> would be under /kernel, so maybe that's just me.

/etc is static configuration data.

/run is volatile runtime data.

/etc is read-only during boot.

/run is writable all the way.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list