Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Filesystem Hierarchy
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Filesystem Hierarchy
3rd Jun, 2013, 06:07 AM
Post: #1
rbellamy Offline
Registered
Posts: 21
Joined: May 2013
Reputation: 2
Filesystem Hierarchy
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.
Find all posts by this user
3rd Jun, 2013, 06:58 AM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Filesystem Hierarchy
(3rd Jun, 2013 06:07 AM)rbellamy Wrote:  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.

Wink this has nothing to do with the debian "way", but no guideline knowledge on our side.

of course the points you written should be fixed. rise an issue on github under particular repo please.

anyhow the decade old rules (which debian still follows and mixes with new approaches) should be followed and like:

non-distro packages with prefix /usr/local for binaries, I like to have all conf files in /etc/, service configs in /etc/default and logs under /var/log .

the xbmc is really specific, due to cross platform support they decided to have all inside users home as you see. this is not XBIAN's invention !

it;s the same on MacOS, linux, ATV (IOS) etc.

what is important, all xbian files starting from beta1 are distributed via .deb packages, so no untracked files should be left all over the system.

opt is on the contrary used and created by broadcom engineers for platform libs and bins.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
3rd Jun, 2013, 11:16 AM
Post: #3
rbellamy Offline
Registered
Posts: 21
Joined: May 2013
Reputation: 2
RE: Filesystem Hierarchy
I totally agree that the fact that the packages are distributed via .deb packages is incredibly important. In fact, this is one of the primary reasons I am focusing my attention on xbian.

Quote:the xbmc is really specific, due to cross platform support they decided to have all inside users home as you see. this is not XBIAN's invention !

I didn't realize this about xbmc - good to know.[/quote]
Find all posts by this user
3rd Jun, 2013, 03:18 PM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Filesystem Hierarchy
(3rd Jun, 2013 11:16 AM)rbellamy Wrote:  I totally agree that the fact that the packages are distributed via .deb packages is incredibly important. In fact, this is one of the primary reasons I am focusing my attention on xbian.

Quote:the xbmc is really specific, due to cross platform support they decided to have all inside users home as you see. this is not XBIAN's invention !

I didn't realize this about xbmc - good to know.
[/quote]

http://wiki.xbmc.org/index.php?title=Userdata_folder
(if interested)

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 11th May, 2025, 06:00 AM Powered By MyBB, © 2002-2025 MyBB Group.