I have installed Ubuntu 16.04 Desktop on a laptop. I wanted to create separate partitions for each main directory in the default filesystem of Ubuntu. For these I have my ballbark estimate of how much space they need, but I am new to the `/srv' directory.
Which purposes does it serve in the first place?
The description in man hier
(thanks to https://askubuntu.com/a/944/446253)
/srv This directory contains site-specific data that is served by this system.
is pretty generic. Any examples? What are the typical volumes of the data stored there? How quickly should I expect that it fills up?
Any tip that helps guide intuition much appreciated.
More information on the Filesystem Hierarchy Standard is available from Wikipedia at https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard or from the Linux Foundation at https://wiki.linuxfoundation.org/lsb/fhs
From https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s17.html :
This is where you put the (static?) data for your servers, http, ftp, etc ....
In most cases it will contain very little; my own system has
ftp
data there but if you don't useftp
or other programs that require or use it (many allow configuration to change to be other places), it'll remain a empty directory.It's software specific as far as I know.
ftp
is the only thing I see that uses (or more likely once upon a time used it) on my desktop.I would not create a separate partition for /srv on a desktop.