[RFC] /var versus /srv

Alexander Boström abo at kth.se
Thu Sep 27 11:50:08 UTC 2007

ons 2007-09-26 klockan 21:28 -0600 skrev Lamont Peterson:

> And /var/ isn't "open ground"?  Perhaps it shouldn't be, but the
> reality of things today is that it's a jumbled, cluttered mess.

I'm a sysadmin. I expect the RPM:s to put things in /var,
especially /var/lib/<packagename>. I don't think /var/lib is that
cluttered. Sure, one could use a scheme
like /<prefix>/<category>/<packagename>/ but categories are hard
an /var/lib is not big enough for something like that to be warranted.

When _I_ configure something to use a local directory for storing data,
I either put it in /var/local/<some_identifier>/ or I use /srv/. I
expect /srv to be like /var/local and /usr/local in that it's not
touched by the operating system. (Which means anything installed by
RPM:s, in the Fedora case.) That is how I've interpreted the FHS.


More information about the fedora-devel-list mailing list