GoboLinux - Fun with File System Hierarchy
GoboLinux - Fun with File System Hierarchy
Posted Jan 22, 2004 11:33 UTC (Thu) by ptr (guest, #5885)Parent article: GoboLinux - Fun with File System Hierarchy
I do not think that the Programs directory structure is more *logical* than the standard hierarchy (except the names themselves, maybe, for linux the "usr" directory naming is rediculous and purely historical).
The standard structure is a lot more useful for doing backups. Their /Programs structure is a lot more useful for doing package management within the file system.
What I like about GoboLinux is that they try to provide multiple views of the file system via symlinks (all executables are accesable via /System/Links/Executables). That makes for example backups easier. Unfortunately, sometimes symlinks themselves contain information in their target, thus you cannot simple use "follow symlinks" in your backups.
What I really dislike is the /tmp directory (look at all the security problems, etc.). A normal (non-server) user process should really avoid writing anywhere but into the home directory and use a private tmp storage in there. An even a server process or X11 should rather use something in /var.
Posted Jan 22, 2004 11:49 UTC (Thu)
by nix (subscriber, #2304)
[Link] (1 responses)
Every halfway-competent backup program does this, even `cp -a'.
Posted Jan 22, 2004 17:40 UTC (Thu)
by rschroev (subscriber, #4164)
[Link]
In that case, I prefer the standard way of doing things. The names could have be chosen better and the difference between the purpose of some directories is sometimes not clear, but I like how it separates static data (binaries, documentation) from configuration and from other variable data and from user data.
Posted Jan 23, 2004 21:34 UTC (Fri)
by Ross (guest, #4065)
[Link]
But oh well, it's not bad enough to warrant such a large change. And the
GoboLinux - Fun with File System Hierarchy
Unfortunately, sometimes symlinks themselves contain information in their target, thus you cannot simple use "follow symlinks" in your backups.
Well, no: you really have to back up the symlinks *as symlinks*, and similarly for all other non-regular filetypes (or the first time you hit a non-connected FIFO, or /dev/zero, you'll never come back).
If I understand you correctly, that would mean you cannot backup your config files by making a copy of /etc - you would end up with a bunch of symlinks instead of the data itself. GoboLinux - Fun with File System Hierarchy
I also dislike "etc". But I do like the consistancy of using 3 letters andGoboLinux - Fun with File System Hierarchy
only lowercase. I think a better choice would have been "cfg". And I
agree about "usr". Something like "sys" would have been a nicer name.
Gobo names will also be disliked by some. I really didn't like the
arrangement of the "System" folder nor did I appreciate the mixing of
non-chaning files like binaries and configuration files in a single
"Programs" directory. One nice thing about /usr is that there is really
no need to modify anything in it. You don't need to back it up because it
should consist of files extracted from packages.