3rd Jun, 2013, 06:07 AM
I note that the xbian Filesystem Hierarchy is sometimes compliant with the generic FHS and Debian's specific implementation of the FHS, and sometimes not. I'd like some insight into the thinking around the placement of binaries, logs and configuration.
The xbian-specific deployments of couchpotato, sickbeard, etc are stored in /usr/local/share, and the config for couchpotato is stored in /usr/local/etc. I've always thought that /usr/local was for me (the system administrator) when I custom install source "the debian way" and, for instance, /opt would be used for packages that fall outside that "debian way" or are just too much trouble to shoehorn into it.
Log files are in variously unusual places as well:
XBMC => /home/xbian/.xbmc/temp/xbmc.log
NZBGet => /home/xbian/nzbget.log
CouchPotato => /usr/local/etc/couchpotato/logs/CouchPotato.log
etc....
I'd love to turn my understanding of this topic into a wiki page for the rest of the community - if I can get some understanding.
The xbian-specific deployments of couchpotato, sickbeard, etc are stored in /usr/local/share, and the config for couchpotato is stored in /usr/local/etc. I've always thought that /usr/local was for me (the system administrator) when I custom install source "the debian way" and, for instance, /opt would be used for packages that fall outside that "debian way" or are just too much trouble to shoehorn into it.
Log files are in variously unusual places as well:
XBMC => /home/xbian/.xbmc/temp/xbmc.log
NZBGet => /home/xbian/nzbget.log
CouchPotato => /usr/local/etc/couchpotato/logs/CouchPotato.log
etc....
I'd love to turn my understanding of this topic into a wiki page for the rest of the community - if I can get some understanding.