Darwin Directory Structure
From NeoWiki
(Difference between revisions)
(New page: A sketch of the filesystem hierarchy. / root directory of the filesystem /bin/ user utilities fundamental to both single-user and multi- ...) |
|||
Line 3: | Line 3: | ||
/ root directory of the filesystem | / root directory of the filesystem | ||
− | /bin/ user utilities fundamental to both single-user and multi- | + | /bin/ user utilities fundamental to both single-user and multi-user environments |
− | + | ||
/dev/ block and character device files | /dev/ block and character device files | ||
Line 12: | Line 11: | ||
/etc/ system configuration files and scripts | /etc/ system configuration files and scripts | ||
− | /mach_kernel kernel executable (the operating system loaded into memory | + | /mach_kernel kernel executable (the operating system loaded into memory at boot time). |
− | + | ||
− | /sbin/ system programs and administration utilities fundamental to | + | /sbin/ system programs and administration utilities fundamental to both single-user and multi-user environments |
− | + | ||
/tmp/ temporary files | /tmp/ temporary files | ||
Line 22: | Line 19: | ||
/usr/ contains the majority of user utilities and applications | /usr/ contains the majority of user utilities and applications | ||
− | bin/ common utilities, programming tools, and | + | bin/ common utilities, programming tools, and applications |
− | + | ||
include/ standard C include files | include/ standard C include files | ||
− | + | arpa/ C include files for Internet service protocols | |
− | arpa/ C include files for Internet service | + | |
− | + | ||
hfs/ C include files for HFS | hfs/ C include files for HFS | ||
machine/ machine specific C include files | machine/ machine specific C include files | ||
net/ misc network C include files | net/ misc network C include files | ||
− | netinet/ C include files for Internet standard | + | netinet/ C include files for Internet standard protocols |
− | + | nfs/ C include files for NFS (Network File System) | |
− | nfs/ C include files for NFS (Network File | + | |
− | + | ||
objc/ C include files for Objective-C | objc/ C include files for Objective-C | ||
− | protocols/ C include files for Berkeley service | + | protocols/ C include files for Berkeley service protocols |
− | + | sys/ system C include files (kernel data structures) | |
− | sys/ system C include files (kernel data | + | |
− | + | ||
ufs/ C include files for UFS | ufs/ C include files for UFS | ||
− | |||
lib/ archive libraries | lib/ archive libraries | ||
− | libexec/ system daemons & system utilities (executed by | + | libexec/ system daemons & system utilities (executed by other programs) |
− | + | local/ executables, libraries, etc. not included by the basic operating system | |
− | local/ executables, libraries, etc. not included by the | + | sbin/ system daemons & system utilities (executed by users) |
− | + | ||
− | sbin/ system daemons & system utilities (executed by | + | |
− | + | ||
share/ architecture-independent data files | share/ architecture-independent data files | ||
− | + | calendar/ a variety of pre-fab calendar files | |
− | calendar/ a variety of pre-fab calendar files | + | dict/ word lists |
− | + | web2 words from Webster's 2nd International | |
− | dict/ word lists | + | |
− | + | ||
− | web2 words from Webster's 2nd | + | |
− | + | ||
words common words | words common words | ||
− | |||
man/ manual pages | man/ manual pages | ||
misc/ misc system-wide ascii text files | misc/ misc system-wide ascii text files | ||
mk/ templates for make; see make(1) | mk/ templates for make; see make(1) | ||
skel/ example . (dot) files for new accounts | skel/ example . (dot) files for new accounts | ||
− | tabset/ tab description files for a variety of | + | tabset/ tab description files for a variety of terminals; used in the termcap file |
− | + | zoneinfo/ timezone configuration information | |
− | + | ||
− | zoneinfo/ timezone configuration information | + | |
− | + | ||
− | + | ||
/var/ multi-purpose log, temporary, transient, and spool files | /var/ multi-purpose log, temporary, transient, and spool files | ||
− | + | at/ timed command scheduling files | |
− | at/ timed command scheduling files | + | |
backups/ misc. backup files | backups/ misc. backup files | ||
− | db/ misc. automatically generated system-specific | + | db/ misc. automatically generated system-specific database files |
− | + | ||
log/ misc. system log files | log/ misc. system log files | ||
− | + | wtmp login/logout log | |
− | wtmp login/logout log | + | |
− | + | ||
mail/ user mailbox files | mail/ user mailbox files | ||
− | run/ system information files describing various info | + | run/ system information files describing various info about system since it was booted |
− | + | utmp database of current users | |
− | + | rwho/ rwho data files | |
− | utmp database of current users | + | spool/ misc. printer and mail system spooling directories |
− | + | mqueue/ undelivered mail queue | |
− | + | tmp/ temporary files that are kept between system reboots | |
− | rwho/ rwho data files | + | |
− | + | ||
− | spool/ misc. printer and mail system spooling | + | |
− | + | ||
− | + | ||
− | mqueue/ undelivered mail queue | + | |
− | + | ||
− | + | ||
− | tmp/ temporary files that are kept between system | + | |
− | + |
Revision as of 04:37, 24 December 2007
A sketch of the filesystem hierarchy.
/ root directory of the filesystem
/bin/ user utilities fundamental to both single-user and multi-user environments
/dev/ block and character device files
fd/ file descriptor files; see fd(4)
/etc/ system configuration files and scripts
/mach_kernel kernel executable (the operating system loaded into memory at boot time).
/sbin/ system programs and administration utilities fundamental to both single-user and multi-user environments
/tmp/ temporary files
/usr/ contains the majority of user utilities and applications
bin/ common utilities, programming tools, and applications include/ standard C include files arpa/ C include files for Internet service protocols hfs/ C include files for HFS machine/ machine specific C include files net/ misc network C include files netinet/ C include files for Internet standard protocols nfs/ C include files for NFS (Network File System) objc/ C include files for Objective-C protocols/ C include files for Berkeley service protocols sys/ system C include files (kernel data structures) ufs/ C include files for UFS lib/ archive libraries libexec/ system daemons & system utilities (executed by other programs) local/ executables, libraries, etc. not included by the basic operating system sbin/ system daemons & system utilities (executed by users) share/ architecture-independent data files calendar/ a variety of pre-fab calendar files dict/ word lists web2 words from Webster's 2nd International words common words man/ manual pages misc/ misc system-wide ascii text files mk/ templates for make; see make(1) skel/ example . (dot) files for new accounts tabset/ tab description files for a variety of terminals; used in the termcap file zoneinfo/ timezone configuration information /var/ multi-purpose log, temporary, transient, and spool files at/ timed command scheduling files backups/ misc. backup files db/ misc. automatically generated system-specific database files log/ misc. system log files wtmp login/logout log mail/ user mailbox files run/ system information files describing various info about system since it was booted utmp database of current users rwho/ rwho data files spool/ misc. printer and mail system spooling directories mqueue/ undelivered mail queue tmp/ temporary files that are kept between system reboots