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

Re: MiNT goes UNiX, invitation for mailing list (MINTOS)



>Here are hierarchies from a few more Unix systems I have (or had) access to.
>
>In the following chart, each column lists differences from the column left
>to it.
>
>			BSD-Net2	DEC OSF/1		Linux
>
>Config files		/etc
>Single user bins	/bin
>Single user root user	/sbin
>Temporary files		/tmp
>
>Per machine variable	/var
>Spool directories	/var/spool
>Mail spool		/var/mail	/var/spool/mail
                        ^^^^^^^^^
Surely you mean /var/spool/mail?

>Big tmp			/var/tmp
>Logfiles		/var/log	/var/adm
                        ^^^^^^^^
That's merely for mail logs, /var/adm holds messages, wtmp etc.

>Accounting files	/var/acct	/var/adm
>Crash dumps		/var/crash	/var/adm/crash
>
>Bins			/usr/bin
>UCB bins		/usr/ucb	/usr/bin (3)		/usr/bin
>Library files		/usr/lib	
>Pgms called by pgms	/usr/libexec	/usr/lbin
>Data files		/usr/libdata	/usr/lib (1)
>Shared libs		--		/usr/shlib		/usr/lib
>Programmer's bin, lib	/usr/{bin,lib}	/usr/ccs/{bin,lib}	/usr/{bin,lib}
                        ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
And /usr/ucb.

>Arch. indep. data files	/usr/share				/usr/lib
>Manuals			/usr/share/man  (2)			/usr/man
>Other stuff		/usr/var -> /var
>			/usr/spool -> /var/spool
>			/usr/adm -> /adm
>			/usr/tmp -> /var/tmp
>
>Kit specific (4)	--		/usr/kits/KITNAME/...	--
>			--		/var/kits/KITNAME/...	--
>
>Some remarks:
>
>(1) OSF/1 /usr/lib:
>    most stuff are just symlinks, like
>      libc.a -> ../ccs/lib/libc.a
>      tmac -> ../share/lib/tmac
>
>(2) OSF/1 has a symlink
>      /usr/man -> /usr/share/man
>
>(3) OSF/1 has a symlink
>      /usr/ucb -> /usr/bin
>
>(4) OSF/1 /usr/kits/KITNAME/...
>	  /var/kits/KITNAME/...
>    These are kit specific and can be installed and deleted separately (via 
>    `setld').  A lot of stuff from /usr is symlinked into these hierarchies.
>
>Hmm.. (after some consideration) from my point of view, the Linux column 
>looks best.  :-)
>
>Michael
>-- 
>Internet: hohmuth@freia.inf.tu-dresden.de

This is what SunOS 4.1.x has:-

Config files		/etc
Single user bins	/bin
Single user root user	/sbin
Daemons (inet)		/usr/etc
Temporary files		/tmp

Per machine variable	/var
Spool directories	/var/spool
Mail spool		/var/mail
Big tmp			/var/tmp
Logfiles		/var/{adm,log}
Accounting files	/var/adm/acct
Crash dumps		/var/crash

Bins			/usr/{bin,5bin}
UCB bins		/usr/ucb
Library files		/usr/lib	
Pgms called by pgms	/usr/lib
Data files		/usr/lib
Shared libs		/usr/lib
Programmer's bin, lib	/usr/{bin,ucb,lib}
Arch. indep. data files	/usr/share
Manuals			/usr/man
Other stuff		/usr/var -> /var
			/usr/spool -> /var/spool
			/usr/adm
			/usr/tmp -> /var/tmp

I like separating the UCB stuff from the generic from the SYSV, and would go
further, adding a /usr/posixbin for all those commands for which the posix
version differs from the generic/BSD/SYSV.

Steve
-- 
---------------------------------------------------------------------------
Computer Systems Administrator, Dept. of Earth Sciences, Oxford University.
E-Mail: steve@uk.ac.ox.earth (JANET) steve@earth.ox.ac.uk (Internet).
Tel:- Oxford (0865) 282110 (UK) or +44 865 282110 (International).