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

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



> Could you make a start by posting the general 4.4BSD tree structure? I'm
> probably not the only one not to have access to a 4.4BSD system.

No I cannot, because I don't have either. :-)

But I believe that it doesn't have substantially changed sincse BSD-Net2.

> Could anyone compare the 4.4BSD structure with OSF/1?

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
Big tmp			/var/tmp
Logfiles		/var/log	/var/adm
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}
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