Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ls(1)

apropos(1)

whatis(1)

whereis(1)

finger(1)

which(1)

find(1)

grep(1)

HIER(7)                              BSD                               HIER(7)



NAME
     hier - file system hierarchy

DESCRIPTION
     The following outline gives a quick tour through a representative
     Domain/OS BSD system directory hierarchy.  Note that we start at the node
     (rather than the network) root.

     /         Root directory of the local disk
     /bsd4.3/  Root of the bsd4.3 tree
     /sys5.3/  System V stub (provided for solution supplier only)
     /lost+found
               Directory for connecting detached files for salvol(8)
     /dev/     Device files; a link to /sys/node_data/dev (these files are
               documented in section 4 of the BSD Programmer's Reference).
                 pad*                DM pads
                 sio?                Serial I/O ports, see sio(4)
                 ptyp?, ttyp?        pty's, see pty(4)
                 rmt?                Magtape descriptors
                 rct?                Cartridge tape descriptors
                 console             Main console, see tty(4)
                 tty*                Terminals, see tty(4)
                 hp*                 Disks, see hp(4)
                  ...
     /bin/     Utility programs documented in section one of the BSD Command
               Reference.  (See also /usr/bin/, /usr/ucb/bin,
               /usr/apollo/bin.)  On most nodes, /bin is the variant link
               $(systype)/bin, which resolves to either /bsd4.3/bin or
               /sys5.3/bin, based on the current value of the SYSTYPE
               environment variable.
                 cc          C compiler
                 csh         C shell
                 ed          Line editor
                 sed         Stream editor
                  ...
     /lib/     Object libraries and other stuff, see also /usr/lib/,
               /usr/apollo/lib.
     /doc/     Release notes and update procedures documentation.
     /etc/     System files, essential data, maintenance and administration
               utilities.  The /etc directory contains directories, files and
               links (variant links through $(systype)/ for environment-
               specific files, and links to /sys/node_data/etc for node-
               specific files).
                 bsd4.3/     Commands specific to the BSD environment
                 passwd      Password file, passwd(5)
                 group       Group file, group(5)
                 motd        Message of the day, login(1)
                 getty       Part of login, getty(8)
                 init        The parent of all processes, init(8)
                  ...

               The following files are links to /sys/node_data/
                 fstab       File system configuration table fstab(5)
                 mtab        Mounted file table, mtab(5)
                 ttys        Properties of terminals, ttys(5)
                 rc          Shell program to bring the system up
                 rc.local    Site dependent portion of rc
                 rc.user     Shell script to start Domain/OS BSD servers (run by rc)
                  ...

               The following files are links to $(systype)/
                 termcap     Description of terminal capabilities, termcap(5)
                 cron        The clock daemon, cron(8)
                 mount       mount(8)
                  ...
     /sys/     Domain/OS system programs and information.
                 boot        System boot program
                 node_data/  Per-node information
                    etc/rc   Per-node boot-time script
                    tmp      Temporary files, link to /tmp
                    usrtmp   Temporary files, link to /usr/tmp
                    startup.*DM startup command script
                    ...
                 dm/         The Display Manager and screen fonts
                    dm       Display Manager program
                    fonts    Screen fonts
                    *keys*   Key definitions files
                    input    DM input pad
                    output   DM output pad
                    ...
                 mbx/        Interprocess communications mailboxes
                 spm/        The server process manager and associated files
                 traits/     Trait information for streams managers
                 types       File type information for streams managers
                 logfiles
                    ...
     /tmp/     Temporary files, usually a link to /sys/node_data/tmp

     /usr/     General-purpose directory, usually a mounted file system
               adm/      Administrative information
               apollo/   Domain/OS extensions to the UNIX environments
                           bin/      Domain/OS commands for the UNIX
                                     environments
                           lib/      Binaries and related files
                           include/  Domain/OS system call C include files
               bin/      Additional utility programs, to keep /bin/ small
               tmp/      Temporaries; a link to /sys/node_data/usrtmp
               dict/     Word lists, etc.
               games/
                           lib/      Library of stuff for games
     include/  Standard #include files
     lib/      Object libraries
               atrun
                    Scheduler for at(1)
               ...
               struct/
                    Passes of struct(1)
               ...
               tmac/
                    Macros for troff(1)
               font/
                    Fonts for troff(1)
               uucp/
                    Programs and data for uucp(1C)
     man/      Reference manual entries
               cat?/
                    Preformatted pages for section ?
     new/      Binaries of new versions of programs
     spool/    Delayed execution files
     mail/     Mailboxes for mail(1), a link to spool/mail
     uucp/     Work files and staging area for uucp(1C)
     ucb/      Source for programs in /usr/ucb
     games/    Source for /usr/games

     /wd/      Initial working directory of a user, typically wd is the user's
               login name
               .profile  Set environment for sh(1), environ(7)
               .login    Set initial environment for csh(1)
               .cshrc    Startup file for csh(1)
               .logout   Logout file for csh(1)
               .exrc     Startup file for ex(1)
               .mailrc   Startup file for mail(1)
               user_data/
                         Personal DM startup files, key definitions, etc.
BUGS
     The position of files is subject to change without notice.
SEE ALSO
     ls(1), apropos(1), whatis(1), whereis(1), finger(1),  which(1),  find(1),
     grep(1);
     Managing BSD System Software;
     Using Your BSD Environment.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026