Download LINUX Rute Users Tutorial and Exposition Version
Transcript
35.3. The Root Directory
35. The L INUX Filesystem Standard
. . . /opt Configuration for /opt
The following section is intended partly to illuminate the description of the contents of /etc
with a number of examples; it is definitely not an exhaustive list.
35.3.6 Required files for /etc:
• General files:
{ adjtime, csh.login, disktab, fdprm, fstab, gettydefs, group, inittab,
confissue, ld.so.conf, lilo.conf, motd, mtab, mtools, passwd, profile,
securetty, shells, syslog.conf, ttytype }
• Networking files:
{ exports, ftpusers, gateways, host.conf, hosts, hosts.allow,
hosts.deny, hosts.equiv, hosts.lpd, inetd.conf, networks, printcap,
protocols, resolv.conf, rpc, services }
Notes:
The setup of command scripts invoked at boot time may resemble System V or BSD models. Further
specification in this area may be added to a future version of this standard.
Systems that use the shadow password suite will have additional configuration files in /etc
(/etc/shadow and others) and programs in /usr/sbin (useradd, usermod, and others).
/etc/X11 : Configuration for the X Window System
/etc/X11 is the recommended location for all X11 host-specific configuration. This directory
is necessary to allow local control if /usr is mounted read only. Files that should be in this
directory include Xconfig (and/or XF86Config) and Xmodmap.
Subdirectories of /etc/X11 may include those for xdm and for any other programs (some window managers, for example) that need them. We recommend that window managers with only
one configuration file which is a default .*wmrc file should name it system.*wmrc (unless
there is a widely-accepted alternative name) and not use a subdirectory. Any window manager
subdirectories should be identically named to the actual window manager binary.
/etc/X11/xdm holds the configuration files for xdm. These are most of the files normally found
in /usr/lib/X11/xdm. Some local variable data for xdm is stored in /var/lib/xdm.
/etc/opt : Configuration files for /opt
Host-specific configuration files for add-on application software packages shall be installed
within the directory /etc/opt/<package>, where <package> is the name of the subtree
346