man Pages(4): File Formats
只搜寻这本书
以 PDF 格式下载本书

NAME

Intro, intro - introduction to file formats

DESCRIPTION

This section outlines the formats of various files. The C structure declarations for the file formats are given where applicable. Usually, the headers containing these structure declarations can be found in the directories /usr/include or /usr/include/sys. For inclusion in C language programs, however, the syntax #include <filename.h> or #include <sys/filename.h> should be used.
Because the operating system now allows the existence of multiple file system types, there are several instances of multiple manual pages with the same name. These pages all display the name of the FSType to which they pertain in the form name_ fstype at the top of the page. For example, fs_ufs(4)
Name              Appears on Page        Description

/proc
proc (4)
process file system
.environ          environ(4)             user-preference variables files for AT&T
                                         FACE
.ott              ott(4)                 FACE object architecture information
.pref             environ(4)             user-preference variables files for AT&T
                                         FACE
.rhosts           hosts.equiv(4)         trusted remote hosts and users
.variables        environ(4)             user-preference variables files for AT&T
                                         FACE
a.out             a.out (4)              Executable and Linking Format (ELF) files
acct              acct(4)                per-process accounting file format
addresses         aliases(4)             addresses and aliases for sendmail
admin             admin(4)               installation defaults file
aliases           aliases(4)             addresses and aliases for sendmail
ar                ar(4)                  archive file format
archives          archives(4)            device header
asetenv           asetenv(4)             ASET environment file
asetmasters       asetmasters(4)         ASET master files
audit.log         audit.log(4)           audit trail file
audit_class       audit_class(4)         audit class definitions
audit_control     audit_control(4)       control information for system audit daemon
audit_data        audit_data(4)          current information on audit daemon
audit_event       audit_event(4)         audit event definition and class mapping
audit_user        audit_user(4)          per-user auditing data file
bootparams        bootparams(4)          boot parameter data base
cdtoc             cdtoc(4)               CD-ROM table of contents file
cklist.high       asetmasters(4)         ASET master files
cklist.low        asetmasters(4)         ASET master files
cklist.med        asetmasters(4)         ASET master files
clustertoc        clustertoc(4)          cluster table of contents description file

compver           compver(4)             compatible versions file
copyright         copyright(4)           copyright information file
core              core(4)                core image file
default_fs        default_fs(4)          specify the default file system type for
                                         local or remote file systems
depend            depend(4)              software dependencies file
device.cfinfo      device.cfinfo(4)        devconfig configuration files
device_allocate   device_allocate(4)     device_allocate file
device_maps       device_maps(4)         device_maps file
dfstab            dfstab(4)              file containing commands for sharing
                                         resources across a network
dir               dir_ufs(4)             format of ufs directories
dir_ufs           dir_ufs(4)             format of ufs directories
dirent            dirent(4)              file system independent directory entry
driver.conf       driver.conf(4)         driver configuration files
dumpdates         ufsdump(4)             incremental dump format
eisa              sysbus(4)              configuration files for ISA, EISA, and MCA
                                         bus device drivers
environ           environ(4)             user-preference variables files for AT&T
                                         FACE
ethers            ethers(4)              Ethernet address to hostname database or
                                         domain
fbtab             logindevperm(4)        login-based device permissions
fd                fd (4)                 file descriptor files
filehdr            filehdr(4)              file header for common object files
format.dat        format.dat (4)         disk drive configuration for the format
                                         command.
forward           aliases(4)             addresses and aliases for sendmail
fs                default_fs(4)          specify the default file system type for
                                         local or remote file systems
fs_ufs            fs_ufs(4)              format of a ufs file system volume
fspec             fspec(4)               format specification in text files
fstypes           fstypes(4)             file that registers distributed file system
                                         packages
group             group(4)               group file
holidays          holidays(4)            prime/nonprime table for the accounting
                                         system
hosts.equiv       hosts.equiv(4)         trusted remote hosts and users
hosts             hosts(4)               host name database
inetd.conf        inetd.conf(4)          Internet servers database
init.d            init.d(4)              initialization and termination scripts for
                                         changing init states
inittab           inittab(4)             script for init
inode             fs_ufs(4)              format of a ufs file system volume
inode_ufs         fs_ufs(4)              format of a ufs file system volume

isa
sysbus(4)
configuration files for ISA, EISA, and MCA
bus device drivers
issue             issue(4)               issue identification file
keytables         keytables(4)           keyboard table descriptions for loadkeys and
                                         dumpkeys
krb.conf          krb.conf(4)            Kerberos configuration file
krb.realms        krb.realms(4)          host to Kerberos realm translation file
limits            limits(4)              header for implementation-specific constants
loadfont          loadfont(4)            format of a font file used as input to the
                                         loadfont utility
logindevperm      logindevperm(4)        login-based device permissions
loginlog          loginlog(4)            log of failed login attempts
magic             magic(4)               file command's magic number file
mca               sysbus(4)              configuration files for ISA, EISA, and MCA
                                         bus device drivers
mnttab            mnttab(4)              mounted file system table
netconfig          netconfig(4)            network configuration database
netgroup          netgroup(4)            list of network groups
netid             netid(4)               netname database
netmasks          netmasks(4)            network mask database
netrc             netrc(4)               file for ftp remote login data
networks          networks(4)            network name database
nisfiles           nisfiles(4)             NIS+ database files and directory structure
nsswitch.conf     nsswitch.conf(4)       configuration file for the name-service
                                         switch
order             order(4)               package installation order description file
ott               ott(4)                 FACE object architecture information
packagetoc        packagetoc(4)          package table of contents description file
passwd            passwd(4)              password file
path_to_inst      path_to_inst(4)        device instance number file
pathalias         pathalias(4)           alias file for FACE
phones            phones(4)              remote host phone number database
pkginfo           pkginfo(4)             package characteristics file
pkgmap            pkgmap(4)              package contents description file
plot              plot(4B)               graphics interface
pref              environ(4)             user-preference variables files for AT&T
                                         FACE
proc              proc (4)               process file system
profile            profile (4)             setting up an environment for user at login
                                         time
protocols         protocols(4)           protocol name database
prototype         prototype(4)           package information file
pseudo            pseudo(4)              configuration files for pseudo device
                                         drivers
publickey         publickey(4)           public key database

queuedefs
queuedefs(4)
queue description file for at, batch, and
cron
remote            remote(4)              remote host description file
resolv.conf       resolv.conf(4)         configuration file for name server routines
rhosts            hosts.equiv(4)         trusted remote hosts and users
rmmount.conf      rmmount.conf(4)        removable media mounter configuration file
rmtab             rmtab(4)               remote mounted file system table
routing           routing(4)             system support for packet network routing
rpc               rpc(4)                 rpc program number data base
rpld.conf         rpld.conf(4)           Remote Program Load (RPL) server
                                         configuration file
rt_dptbl          rt_dptbl(4)            real-time dispatcher parameter table
sbus              sbus(4)                configuration files for SBus device drivers
sccsfile           sccsfile(4)             format of an SCCS history file
scsi              scsi(4)                configuration files for SCSI target drivers
services          services(4)            Internet services and aliases
shadow            shadow(4)              shadow password file
sharetab          sharetab(4)            shared file system table
space             space(4)               disk space requirement file
strftime          strftime(4)            language specific strings
sysbus            sysbus(4)              configuration files for ISA, EISA, and MCA
                                         bus device drivers
syslog.conf       syslog.conf(4)         configuration file for syslogd system log
                                         daemon
system            system(4)              system configuration information file
term              term(4)                format of compiled term file
terminfo          terminfo (4)           terminal capability database
TIMEZONE          TIMEZONE(4)            set default system time zone and locale
timezone          timezone(4)            default timezone data base
ts_dptbl          ts_dptbl(4)            time-sharing dispatcher parameter table
ttydefs           ttydefs(4)             file contains terminal line settings
                                         information for ttymon
ttysrch           ttysrch(4)             directory search list for ttyname
tune.high         asetmasters(4)         ASET master files
tune.low          asetmasters(4)         ASET master files
tune.med          asetmasters(4)         ASET master files
ufsdump           ufsdump(4)             incremental dump format
uid_aliases       asetmasters(4)         ASET master files
unistd            unistd(4)              header for symbolic constants
updaters          updaters(4)            configuration file for NIS updating
utmp              utmp(4)                utmp and wtmp entry formats
utmpx             utmpx(4)               utmpx and wtmpx entry formats
variables         environ(4)             user-preference variables files for AT&T
                                         FACE
vfstab            vfstab(4)              table of file system defaults

vme
vme(4)
configuration files for VMEbus device
drivers
vold.conf         vold.conf(4)           Volume Management configuration file
wtmp              utmp(4)                utmp and wtmp entry formats
wtmpx             utmpx(4)               utmpx and wtmpx entry formats
ypfiles            ypfiles(4)              Network Information Service Version 2,
                                         formerly knows as YP