Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual page 32

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

Chapter 1. File System Structure
1.2.1.9. The /sbin/ Directory
The /sbin/ directory stores executables used by the root user. The executables in /sbin/ are used
at boot time, for system administration and to perform system recovery operations. Of this directory,
the FHS says:
/sbin contains binaries essential for booting, restoring, recovering, and/or repairing
the system in addition to the binaries in /bin. Programs executed after /usr/ is
known to be mounted (when there are no problems) are generally placed into /usr/
sbin. Locally-installed system administration programs should be placed into /usr/
local/sbin.
At a minimum, the following programs should be in /sbin/:
arp, clock,
halt, init,
fsck.*, grub,
ifconfig, mingetty,
mkfs.*, mkswap,
reboot, route,
shutdown, swapoff,
swapon
1.2.1.10. The /srv/ Directory
The /srv/ directory contains site-specific data served by your system running Red Hat Enterprise
Linux. This directory gives users the location of data files for a particular service, such as FTP, WWW,
or CVS. Data that only pertains to a specific user should go in the /home/ directory.
1.2.1.11. The /sys/ Directory
The /sys/ directory utilizes the new sysfs virtual file system specific to the 2.6 kernel. With the
increased support for hot plug hardware devices in the 2.6 kernel, the /sys/ directory contains
information similarly held in /proc/, but displays a hierarchical view of specific device information in
regards to hot plug devices.
1.2.1.12. The /usr/ Directory
The /usr/ directory is for files that can be shared across multiple machines. The /usr/ directory is
often on its own partition and is mounted read-only. At a minimum, the following directories should be
subdirectories of /usr/:
/usr
|- bin/
|- etc/
|- games/
|- include/
|- kerberos/
|- lib/
|- libexec/
|- local/
|- sbin/
|- share/
|- src/
|- tmp -> ../var/tmp/
6

Advertisement

Table of Contents
loading

Table of Contents