On Wednesday 16 July 2008 04:29:32 pm Charles philip Chan wrote:
"Carlos E. R."
writes:
The Wednesday 2008-07-16 at 13:27 -0700, Ben Kevan wrote: You have /usr/local/var, /usr/local/etc, /usr/local/usr... everything.
Yes. To the OP: you should really read the FHS. Here is a short run down of the hierarchies:
1. "/" - root of the file system. /bin. /sbin. and /lib contains everything that can boot the machine. The binaries in /bin and /sbin should either be staticaly linked or only linked to libraries in /lib since the other prefixes can be from anywhere and there is no guarentee that they are mounted.
2. "/usr and /usr/X11R6": This is where the distro's packages are unsually installed. /usr/bin is traditionally used for console apps where as /usr/X11R6 for graphical and of course /usr/sbin for admin programs. However, the trend these days is to dump all usr apps in /usr (which I dislike). This heirachy is also traditionally used for site wide packages (for example, through a NFS mount from a central server).
3. "/opt": Large third party subsystems. This can be site wide too. Out of all the Linux distro, it seems like only SUSE use this hierachy heavily.
4. "/usr/local": Local packages specific to the machine. All non-distro packages should be installed here.
Charles
Hi Charles, I have read FHS and it seems that it should go into /usr/local but how about the other things I need to transfer? Like the header file for my scripts? It's not really a binary and there is no /usr/local/etc or /usr/local/var that I would consider them belonging in. Charles.. here is the current directory structure I am going to move from ~ into a rsync'ed location across servers: aliases.client (file) aliases.master (file) sbin/ (directory with admin binaries) crontab.dist (file) dlist (file - depreciate and will use rsync) RCS/ (will be moved into a source directory) .saenv (file) saenv.setup (file) sahead (file) stamp/ (directory - possible depreciate, and use file timestamps to check for changes and updating of sudoers / cron / saenv.setup) sudoers I can obviously see that sbin would go to /usr/local/sbin .. But where would I put the others? Again this is stuff that would be pulled via rsync (or possibly scp) on a nightly schedule. That's where I am confused.. Not the sbin or bin directories. Thanks for everynoes help. Ben -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org