<div>Hi,</div><br><div class="gmail_quote">2011/4/29 Michał Piotrowski <span dir="ltr">&lt;<a href="mailto:mkkp4x4@gmail.com" target="_blank">mkkp4x4@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>By the way, maybe it would be good to think about the meaning of /srv<br>
existance? For seven years FHS requires that this directory exists<br>
<a href="http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE16A" target="_blank">http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE16A</a><br>
but &quot;The methodology used to name subdirectories of /srv is<br>
unspecified as there is currently no consensus on how this should be<br>
done&quot; - so even the authors of the standard did not have anything to<br>
say about how this directory should be used. Is there a rational<br>
reason for the existence of this directory besides FHS conformance?<br></blockquote><div> </div><div>For years now I&#39;ve been using /srv to contain the content for the various (world visible) services my machines run. Instead of having a mix of /var/www/ /home/apache /home/httpd/ /var/lib/mysql/ /var/named/ and other directories the different distributions come up with (usually somewhere in /var), I&#39;ve standardized on /srv/www /srv/svn /srv/git/ /srv/mysql and /srv/dns for all machines and distros. Instead of just getting rid of such a useful directory I&#39;d rather see an effort to come up with a beter standardization / description.</div>
<div><br></div><div>Because /var already contains a lot of other variable/transient data, e.g. log, spool and temporary files, I like the fact that I can have another hierarchy for &#39;content&#39; data instead of &#39;variable run/state&#39; data. In /srv is the really important data I need to backup and restore; /var is just variable data that is needed in a running system, but isn&#39;t that essential and specific to my system. You could almost say that /srv is the system-wide /home in my case.</div>
<div><br></div><div>--</div><div>Regards,</div><div>Jasper</div></div>