]] Christoph Anton Mitterer 

| On Mon, 16 May 2011 06:07:05 +0200, Tollef Fog Heen <[email protected]> wrote:
| > | a) This means that nobody uses it.
| > No, it does not.  Really, where else do you put stuff such as the
| > different web server vhosts you have?
|
| Well e.g. in Debian most people put it under /var/www/<vhost> ... but as
| you said /var/www is problematic, but unlike you I'd still would use it for
| purely dynamically generated www content.

If you argue that /var/www/$vhost is the right place, surely you're not
seriously suggesting to move database data to /srv?  I was asking where
you would put it, not where some people put it today.

| But when "classifying" data... what's different between vhost's data (e.g.
| HTML pages) and database clusters? Or maildirs from a pop3/imap server? Or
| the roaster(s) of a XMMP server?

An important difference is whether the admin ever interfaces with the
files and makes decision about the inner directory structure.  For a web
application or FTP server, they certainly do, but for an XMPP server
they generally don't care about how it's stored and usually don't care
about where it's stored either (as long as it's backed up).  Maildirs go
in a user's home directory, so that's a completely separate discussion.

| > Also, you have not said anything about what problem you're trying to
| > solve or why storing this data in /var is a problem.
|
| Well there is of course no real problem we could put everything in
| /root and it would still be able to get it working somehow.

If there's no problem with the current structure, then don't change it,
and putting everything in /root would present problems.  I'm sure you're
able to figure out some problems with it. :-)

Even if I agreed with your premise that only generated/uninteresting
stuff should go to /var, there's a big problem with reusing /srv and
that is the structure has been explicitly defined as admin territory and
so there are no directories you can use there that are guaranteed to not
clash with existing directories the admin has created for other
purposes.

Regard,
-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
_______________________________________________
fhs-discuss mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/fhs-discuss

Reply via email to