8.6 The System Binary Directory (sbin)

   

8.6 The System Binary Directory (/sbin)

This directory contains executable files needed at boot time. Under HP-UX, this directory also contains system scripts required at startup and shutdown time. This directory also contains subdirectories. The most important script in the /sbin directory is the rc script that controls all of the system startup and shutdown processes. Another important program is init , which is used to control different system states like single- user mode, multiuser mode, etc. There is the /sbin/init.d directory that contains all scripts executed at system startup and shutdown or at the time when the system changes its state (e.g., from single-user to multiuser). A partial /sbin directory subtree is shown in Figure 8-4.

Figure 8-4. The /sbin directory subtree.

graphics/08fig04.gif

There are directories with names /sbin/rc0.d , /sbin/rc1.d , and so on. These control different runlevels or system states in conjunction with the /sbin/init program. You will find more information on runlevels in Chapter 11 where system startup and shutdown procedures are discussed. Most of the other daemon startup and shutdown scripts are also stored in this directory.


   
Top


HP Certified
HP Certified: HP-UX System Administration
ISBN: 0130183741
EAN: 2147483647
Year: 2000
Pages: 390
Authors: Rafeeq Rehman

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net