- 论坛徽章:
- 0
|
Not all files will be in every system.
/ root directory of the system
/COPYRIGHT
system copyright notice, most often put on CD-ROM distribu-
tions.
/[a-z]/ user filesystems
/altroot/ alternate root filesystem, in case of disaster
/bin/ utilities used in both single and multi-user environments
/boot* second-stage boot loader(s) for some platforms; see
installboot(8)
/dev/ block, character and other special device files
MAKEDEV script for creating device files; see makedev(8)
console the computer's console device
drum system swap space; see drum(4)
fd/ file descriptor files; see fd(4)
klog kernel logging device; see syslog(3)
kmem kernel virtual memory device; see mem(4)
log UNIX domain datagram log socket; see syslogd(8)
mem kernel physical memory device; see mem(4)
null the null device; see null(4)
stderr
stdin
stdout file descriptor files; see fd(4)
tty process' controlling terminal device; see tty(4)
zero the zero device; see zero(4)
/etc/ system configuration files and scripts
amd* configuration files for amd(8)
changelist files backed up by the security script
crontab schedule used by the cron(8) daemon
csh.cshrc
csh.login
csh.logout system-wide scripts for csh(1)
daily script run each day by cron(8)
daily.conf configuration file for daily; see daily.conf(5)
defaults/ default configuration files read by various
/etc/*.conf files
disktab disk description file, see disktab(5)
dm.conf dungeon master configuration; see dm.conf(5)
dumpdates dump history; see dump(8)
exports filesystem export information; see mountd(8)
fstab filesystem information; see fstab(5) and
mount(8)
ftpusers users denied ftp(1) access; see ftpd(8)
ftpwelcome ftp(1) initial message; see ftpd(8)
gettytab terminal configuration database; see
gettytab(5)
group group permissions file; see group(5)
hosts host name database backup for named(8); see
hosts(5)
hosts.equiv trusted machines with equivalent user ID's
hosts.lpd trusted machines with printing privileges
inetd.conf Internet server configuration file; see
inetd(8)
kerberosV/ configuration files for the kerberos version V;
see kerberos(8)
localtime local timezone information; see ctime(3)
mail/ configuration files for sendmail(8)
aliases* name alias files
sendmail.* sendmail(8) configuration informa-
tion
mail.rc system-wide initialization script for mail(1)
man.conf configuration file for man(1); see man.conf(5)
master.passwd Main password file, readable only by root; see
passwd(5)
mk.conf optional file containing make(1) variables,
read by pkgsrc and the system sources.
monthly script run each month by cron(8)
monthly.conf configuration file for monthly; see
monthly.conf(5)
motd system message of the day
mtree/ mtree configuration files; see mtree(8)
named.*
namedb/ named configuration files and databases; see
named(8)
netgroup network groups; see netgroup(5)
netstart network startup script
networks network name data base; see networks(5)
passwd World readable password file generated from
master.passwd; see passwd(5), pwd_mkdb(8)
phones remote host phone number data base; see
phones(5)
printcap system printer configuration; see printcap(5)
protocols protocol name database; see protocols(5)
pwd.db database form of passwd file; see pwd_mkdb(8)
rc master system startup script invoked by
init(8); see rc(8)
rc.conf configuration file for system startup and shut-
down scripts; see rc.conf(5)
rc.d/ directory containing per-subsystem startup and
shutdown scripts; see rc(8)
rc.local locally editable system startup script
rc.shutdown master system shutdown script invoked by
shutdown(8); see rc(8)
remote remote host description file; see remote(5)
security daily (in)security script run by cron(8)
security.conf configuration file for security; see
security.conf(5)
services service name data base; see services(5)
shells list of permitted shells; see shells(5)
sliphome/ SLIP login/logout scripts; see sliplogin(8)
spwd.db database form of master.passwd file; see
pwd_mkdb(8)
syslog.conf syslogd(8) configuration file; see
syslog.conf(5)
termcap terminal type database; see termcap(3)
ttys terminal initialization information; see
ttys(5)
uucp/ UUCP configuration files; see uucp(1) and
uucico(8).
weekly script run each week by cron(8)
weekly.conf configuration file for weekly; see
weekly.conf(5)
/home/ mount point for the automounter; see amd(8)
/lib/ dynamic linked libraries used by dynamic linked programs (such
as those in /bin/ and /sbin/) that cannot rely upon /usr/lib/
being available.
/libexec/ system utilities (such as the dynamic linker) required by pro-
grams and libraries that cannot rely upon /usr/libexec/ being
available.
/mnt/ empty directory commonly used by system administrators as a
temporary mount point
/netbsd pure kernel executable (the operating system loaded into mem-
ory at boot time).
/rescue/ statically linked rescue tools, for use in system recovery
/root/ home directory for the super-user
.cshrc super-user start-up file
.login super-user start-up file
.profile super-user start-up file
.rhosts super-user id mapping between machines
/sbin/ system programs and administration utilities used in both sin-
gle-user and multi-user environments
/stand/ programs used in a standalone environment
/tmp/ temporary files, usually a mfs(8) memory-based filesystem (the
contents of /tmp are usually not preserved across a system
reboot)
/usr/ contains the majority of the system utilities and files
X11R6/ X11 files
bin/ X11 binaries
include/ X11 include files
lib/ X11 libraries
bin/ common utilities, programming tools, and applica-
tions
games/ the important stuff
include/ standard C include files
arpa/ include files for Internet service pro-
tocols
g++/ include files for the C++ compiler
machine/ machine specific include files
net/
netatalk/ C include files for AppleTalk protocols
miscellaneous network include files; see
atalk(4)
netinet/ include files for Internet standard pro-
tocols; see inet(4)
netinet6/ include files for Internet protocol ver-
sion 6; see inet6(4)
netiso/ include files for ISO standard proto-
cols; see iso(4)
netkey/ include files for secret key management,
used for security protocols; see
ipsec(4)
netnatm/ C include files for native mode ATM
nfs/ C include files for NFS (Network File
System)
protocols/ C include files for Berkeley service
protocols
sys/ system C include files (kernel data
structures)
ufs/ C include files for UFS (The U-word File
System)
lib/ archive, profiled, position independent archive, and
shared libraries
libdata/ miscellaneous utility data files
libexec/ system daemons & system utilities (executed by other
programs)
uucp/ UUCP binaries and scripts (historically
placed; to be moved)
lkm/ loadable kernel modules
mdec/ boot blocks, etc.
obj/ architecture-specific target tree produced by build-
ing the /usr/src tree; normally a symbolic link or
mounted filesystem
pkg/ packages maintained by groups other than the NetBSD
Project.
bin/ contributed binaries
include/ contributed include files
lib/ contributed libraries
libdata/ contributed data files
libexec/ contributed daemons
sbin/ contributed system utilities
pkgsrc/ build descriptions ("packages") for the NetBSD pack-
ages system.
distfiles/ Where unchanged source archives are
fetched to/stored
packages/ Where compiled binary packages are
stored
There are also several other subdirectories which
contain packages of a certain category, e.g.,
archivers, graphics, ...
sbin/ system daemons and system utilities (normally exe-
cuted by the super-user)
share/ architecture-independent text files
calendar/ a variety of calendar files; see
calendar(1)
dict/ word lists; see look(1) and spell(1)
words common words
web2 words of Webster's 2nd Interna-
tional
papers/ reference databases; see
refer(1)
special/ custom word lists; see spell(1)
doc/ miscellaneous documentation; source for
most of the printed 4.3BSD manuals
(available from the USENIX association)
games/ text files used by various games
i18n/ internationalization databases; see
iconv(3)
lkm/ documentation on the loadable kernel mod-
ules interface
locale/ locale databases and gettext message cat-
alogs; see setlocale(3) and gettext(3)
man/ formatted manual pages
me/ macros for use with the me(7) macro pack-
age
misc/ miscellaneous system-wide text files
termcap terminal characteristics data-
base; see termcap(5)
mk/ include files for make(1)
ms/ macros for use with the ms(7) macro pack-
age
nls/ message catalogs; see catgets(3)
skel/ sample initialization files for new user
accounts
tabset/ tab description files for a variety of
terminals, used in the termcap file; see
termcap(5)
tmac/ text processing macros; see nroff(1) and
troff(1)
zoneinfo/ timezone configuration information; see
tzfile(5)
/usr/src/ NetBSD and local source files
bin/ source for utilities/files in /bin
common/ sources shared between kernel and userland
crypto/ cryptographic source, which may have import or
export restrictions
dist/ third-party `virgin' source code, referenced by
other parts of the source tree
distrib/ tools and data-files for making distributions
doc/ documentation about the source tree (i.e., about
the tree, not about how to use the built software.)
etc/ source (usually example files) for files in /etc
games/ source for utilities/files in /usr/games
gnu/ source for programs covered by the GNU license (or
similar)
include/ source for files in /usr/include
lib/ source for libraries in /usr/lib
libexec/ source for utilities/files in /usr/libexec
regress/ various regression tests
rescue/ source/makefiles for /rescue
sbin/ source for utilities/files in /sbin
share/ source for files in /usr/share
doc/
papers/ source for various Berkeley techni-
cal papers
psd/ source for Programmer's Supplemen-
tary Documents
smm/ source for System Manager's Manual
usd/ source for User's Supplementary Doc-
uments |
|