[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Linux/Unix Directory Structure & Description Info



 Here are a couple of links:

Linux Filesystem Hierarchy Standard:
   http://www.pathname.com/fhs/2.2/

-or- Red Hat (which tries to follow the FHS):
http://www.redhat.com/docs/manuals/linux/RHL-6.2-Manual/ref-guide/ch-sysadmin.html#S1-SYSADMIN-FILESYS

There is a fair amount of variation between different *NIXes (or even particular releases) and their implementation of filesystem hierarchy; and there's a lot of interpretation that goes with any directory (what exactly belongs in /usr/local or Red Hat's choice of /var/www/html) which just adds to the confusion.
Here's part of the FHS index page that I linked:

   * 3 The Root Filesystem <http://www.pathname.com/fhs/2.2/fhs-3.html>
         o 3.4 /bin : Essential user command binaries (for use by all
           users) <http://www.pathname.com/fhs/2.2/fhs-3.4.html>
         o 3.5 /boot : Static files of the boot loader
           <http://www.pathname.com/fhs/2.2/fhs-3.5.html>
         o 3.6 /dev : Device files
           <http://www.pathname.com/fhs/2.2/fhs-3.6.html>
         o 3.7 /etc : Host-specific system configuration
           <http://www.pathname.com/fhs/2.2/fhs-3.7.html>
         o 3.8 /home : User home directories (optional)
           <http://www.pathname.com/fhs/2.2/fhs-3.8.html>
         o 3.9 /lib : Essential shared libraries and kernel modules
           <http://www.pathname.com/fhs/2.2/fhs-3.9.html>
         o 3.10 /lib<qual> : Alternate format essential shared
           libraries (optional)
           <http://www.pathname.com/fhs/2.2/fhs-3.10.html>
         o 3.11 /mnt : Mount point for a temporarily mounted filesystem
           <http://www.pathname.com/fhs/2.2/fhs-3.11.html>
         o 3.12 /opt : Add-on application software packages
           <http://www.pathname.com/fhs/2.2/fhs-3.12.html>
         o 3.13 /root : Home directory for the root user (optional)
           <http://www.pathname.com/fhs/2.2/fhs-3.13.html>
         o 3.14 /sbin : System binaries
           <http://www.pathname.com/fhs/2.2/fhs-3.14.html>
         o 3.15 /tmp : Temporary files
           <http://www.pathname.com/fhs/2.2/fhs-3.15.html>
   * 4 The /usr Hierarchy <http://www.pathname.com/fhs/2.2/fhs-4.html>
         o 4.4 /usr/X11R6 : X Window System, Version 11 Release 6
           (optional) <http://www.pathname.com/fhs/2.2/fhs-4.4.html>
         o 4.5 /usr/bin : Most user commands
           <http://www.pathname.com/fhs/2.2/fhs-4.5.html>
         o 4.6 /usr/include : Directory for standard include files.
           <http://www.pathname.com/fhs/2.2/fhs-4.6.html>
         o 4.7 /usr/lib : Libraries for programming and packages
           <http://www.pathname.com/fhs/2.2/fhs-4.7.html>
         o 4.8 /usr/lib<qual> : Alternate format libraries (optional)
           <http://www.pathname.com/fhs/2.2/fhs-4.8.html>
         o 4.9 /usr/local : Local hierarchy
           <http://www.pathname.com/fhs/2.2/fhs-4.9.html>
         o 4.10 /usr/sbin : Non-essential standard system binaries
           <http://www.pathname.com/fhs/2.2/fhs-4.10.html>
         o 4.11 /usr/share : Architecture-independent data
           <http://www.pathname.com/fhs/2.2/fhs-4.11.html>
         o 4.12 /usr/src : Source code (optional)
           <http://www.pathname.com/fhs/2.2/fhs-4.12.html>
   * 5 The /var Hierarchy <http://www.pathname.com/fhs/2.2/fhs-5.html>
         o 5.4 /var/account : Process accounting logs (optional)
           <http://www.pathname.com/fhs/2.2/fhs-5.4.html>
         o 5.5 /var/cache : Application cache data
           <http://www.pathname.com/fhs/2.2/fhs-5.5.html>
         o 5.6 /var/crash : System crash dumps (optional)
           <http://www.pathname.com/fhs/2.2/fhs-5.6.html>
         o 5.7 /var/games : Variable game data (optional)
           <http://www.pathname.com/fhs/2.2/fhs-5.7.html>
         o 5.8 /var/lib : Variable state information
           <http://www.pathname.com/fhs/2.2/fhs-5.8.html>
         o 5.9 /var/lock : Lock files
           <http://www.pathname.com/fhs/2.2/fhs-5.9.html>
         o 5.10 /var/log : Log files and directories
           <http://www.pathname.com/fhs/2.2/fhs-5.10.html>
         o 5.11 /var/mail : User mailbox files (optional)
           <http://www.pathname.com/fhs/2.2/fhs-5.11.html>
         o 5.12 /var/opt : Variable data for /opt
           <http://www.pathname.com/fhs/2.2/fhs-5.12.html>
         o 5.13 /var/run : Run-time variable data
           <http://www.pathname.com/fhs/2.2/fhs-5.13.html>
         o 5.14 /var/spool : Application spool data
           <http://www.pathname.com/fhs/2.2/fhs-5.14.html>
         o 5.15 /var/tmp : Temporary files preserved between system
           reboots <http://www.pathname.com/fhs/2.2/fhs-5.15.html>
         o 5.16 /var/yp : Network Information Service (NIS) database
           files (optional) <http://www.pathname.com/fhs/2.2/fhs-5.16.html>


Hope  this helps,

-David



Jerry Farquhar wrote:

Sorry for not being a Cobalt/Sun specific topic..

Kind of a stupid New Bee question I guess but does anyone know if there is
some kind of chart/cheat sheet that describes typical uses of the Unix/Linux
directory structure?

/etc
/bin
/........
/.........

Looking to gain a better understanding to the workings etc..

Jerry

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users