Path: utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!wuarchive!wugate!uunet!mcsun!hp4nl!star.cs.vu.nl!ast@cs.vu.nl From: ast@cs.vu.nl (Andy Tanenbaum) Newsgroups: comp.os.minix Subject: "Official" directory tree Message-ID: <4381@ast.cs.vu.nl> Date: 30 Oct 89 14:20:26 GMT Sender: ast@cs.vu.nl Reply-To: ast@cs.vu.nl (Andy Tanenbaum) Organization: VU Informatica, Amsterdam Lines: 48 Here is the proposed "official" MINIX file system layout as of 1.4b. It is not entirely academic, because I was having a lot of trouble with etc. Having two copies, one in /usr/include and one in ../h became unmanageable. They couldn't be links because I have them on different disks. I have added /usr/include/blocksize.h, which is all that most programs wanted anyway, and changed the other programs like ls and diskcheck to #include "/usr/src/fs/const.h". There are only a few such programs and they are all programs that have to know about the inner workings of the system. Ordinary user programs are not affected. Andy Tanenbaum (ast@cs.vu.nl) / root directory /bin heavily used binaries /dev special files for the I/O devices /etc /etc/passwd, /etc/rc, etc. /lib heavily used libraries /tmp tmp files /usr users /usr/adm used by 'at' etc /usr/ast sample home dir /usr/bin system binaries (superset of /bin) /usr/doc documentation lives here /usr/etc misc. (superset of /etc) /usr/lib compiler, libc.a, etc. (superset of /lib) /usr/man man pages live here /usr/tmp alternative tmp dir /usr/include ANSI/POSIX header files /usr/include/sys etc. /usr/spool spooling dir /usr/spool/at 'at' program uses this /usr/spool/mail holds user mailboxes /usr/spool/uucp uucp spooling directory /usr/spool/lpd line printer daemon spooling dir /usr/src the entire source tree /usr/src/amoeba amoeba tree /usr/src/commands sources of the utilities /usr/src/compiler C compiler source (if you have it) /usr/src/fs file system source code /usr/src/h operating system specific headers /usr/src/kernel kernel source code /usr/src/mm memory manager source code /usr/src/pascal Pascal compiler source (if you have it) /usr/src/test test programs sources and binaries /usr/src/tools tools for building MINIX /usr/src/lib library sources /usr/src/lib/IBM_PC IBM specific sources (assembler) /usr/src/lib/M68000 Motorola 68000 sources (assembler)