LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is the /srv partition and do I need one? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-srv-partition-and-do-i-need-one-227168/)

Thaidog 09-06-2004 12:50 AM

What is the /srv partition and do I need one?
 
I'm making a workstation... do I need this partition?

sether 09-06-2004 03:14 AM

Quote:

/srv : Data for services provided by this system
Purpose

/srv contains site-specific data which is served by this system.

Tip Rationale


This main purpose of specifying this is so that users may find the location of the data files for particular service, and so that services which require a single tree for readonly data, writable data and scripts (such as cgi scripts) can be reasonably placed. Data that is only of interest to a specific user should go in that users' home directory.

The methodology used to name subdirectories of /srv is unspecified as there is currently no consensus on how this should be done. One method for structuring data under /srv is by protocol, eg. ftp, rsync, www, and cvs. On large systems it can be useful to structure /srv by administrative context, such as /srv/physics/www, /srv/compsci/cvs, etc. This setup will differ from host to host. Therefore, no program should rely on a specific subdirectory structure of /srv existing or data necessarily being stored in /srv. However /srv should always exist on FHS compliant systems and should be used as the default location for such data.

Distributions must take care not to remove locally placed files in these directories without administrator permission. [20]
i don't think i've ever had a /srv partition

scuffell 09-06-2004 03:42 AM

When you install services like apache and ftp servers from rpms the default directory is /srv. Leave it there, but don't bother partitioning for it on a workstation.


All times are GMT -5. The time now is 03:19 PM.