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

File structure



The MiNT distribution kit sets up the following directory structure:

	/etc			machine-biased files/programs
	/bin			'important' binaries
	/dev			devices (set up by MiNT)
	/pipe			named pipes (set up by MiNT)
	/proc			processes (set up by MiNT)
	/shm			shared-memory sections (set up by MiNT)
	/tmp			temporary files - cleared at boot-time
	/var			maintenance directories
	    /adm		admin files
	    /log		log files
	    /spool		spool files (eg: cron/mail)
	/usr			user-level directories
	    /bin		user-orientated binaries
	    /etc		daemons and their control programs
	    /doc		docs that aren't man pages. 1 file/dir each
	    /include		general include directory
	       /g++		inc. files for G++
	       /gem++		inc. files for Gem++
	       /mgr		inc. files for mgr
	       /sys		system-type include files
	    /info		TeXinfo style documentation
	    /lib		system libraries. Subdirs for programs
	    /local		local-to-system directories
	       /man             }
	       /bin             } currently contains groff and tclsh
	       /lib             }
	    /man		manual directories and the whatis database
	       /man?		?=1->8 manual sections
	       /cat?		?=1->8 pre-formatted sections
	    /mnt		mounting filesystems onto (note: can't use /mnt)
	    /spool		link to /var/spool
	    /src		contains directories of system'y source code
	       /fs		minixFS source code
	       /kernel		MiNT 1.09 source code
	       /lib		patchLevel 42 MiNTlib source code
	    /tmp		temporary files *not* cleaned at boot-time
	    /ucb		ucb-type bins (currently just vi)
	    /users		root directory for users home dirs
	    /var		link to /var

This isn't perhaps the most coherent way of setting it out (maybe a tree
diagram would be better), but it shows how I set up the fs structure, and
what I put into which directories.

[note: The only reason vi is in /usr/ucb is that some programs hardcode 
/usr/ucb into themselves- otherwise it'd be in /usr/bin and like it!]

[note2: This is set up as it is on my HD at home under MDK 3.0 - Some things
are missing (notably the src directory) in MDK 2.0, and some programs are
not in their 'correct' places.]

[note3: I've only ever got one version of a program. This version has to be
all things to all men. For example, more is in /usr/bin, not /bin.]

Any objections to me putting this forward as a first attempt to ratify 
the filesystem should be posted :-)

BTW: I vote for MiNX as the name for the more-unix-alike system (if we
need one. I've found that undeffing anything to do with the ST is the easiest
way to get things to compile <grin>)

Simon.
_______________________________________________________________________
\ Simon Gornall - Kings College London. Email: sjg@phlem.ph.kcl.ac.uk /
/    - finger sjg@137.73.4.24 for info on the MiNT distrib kit -      \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~