/tftpboot vs. /var/tftp vs. something else?

Patrice Dumas pertusus at free.fr
Tue Nov 13 08:17:17 UTC 2007


On Mon, Nov 12, 2007 at 10:23:35PM -0800, Toshio Kuratomi wrote:
>>
> According to the FHS this would be the desired location so if it's 
> desirable to change this is where I'd put it.  Will it make integrating 
> ltsp easier if the location is the same between Fedora and Ubuntu?

It is not clear to me that it is the desired location. It seems to be
more for databases that are not directly set up by the user. In my
opinion the wording doesn't correspond with a location where people put
content to be served:

 This hierarchy holds state information pertaining to an application or
 the system. State information is data that programs modify while they
 run, and that pertains to one specific host. Users must never need to
 modify files in /var/lib to configure a package's operation.

 State information is generally used to preserve the condition of an
 application (or a group of inter-related applications) between
 invocations and between different instances of the same application.
 State information should generally remain valid after a reboot, should
 not be logging output, and should not be spooled data.

/srv is clearly the right location, but I agree that /var/lib/*/ is the 
best location, if /srv/ is to be untouched by the packages (and I don't
have an opinion on that point).

--
Pat




More information about the fedora-devel-list mailing list