DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
System directories and files

Files in /sbin

The /sbin directory contains architecture-dependent and architecture-independent files and system administrative databases that can be shared. The /sbin directory is part of the root filesystem.

/sbin/mpchan

This file is a script that configures the appropriate keyboard mapping for the console keyboard.

/sbin/nd

This file contains the network adapter driver start/stop script. See nd(1M) for more information.

/sbin/netbios

This file contains the NetBIOS startup/shutdown script. See netbios(1Mtcp) for more information.

/sbin/rc0

This file contains a shell script executed by shutdown(1M) for transitions to single-user state and by init(1M) for transitions to system states 0, 5, and 6. Files in the /etc/rc0.d directory are executed when /sbin/rc0 is run. The file K00ANNOUNCE in /etc/rc0.d prints the message System services are now being stopped. Any task that you want executed when the system is taken to system states 0, s, 5, or 6 is done by adding a file to the /etc/rc0.d directory.

/sbin/rc1

This file contains a shell script executed by init(1M) for transitions to system state 1 (single-user state). Executable files in the /etc/rc1.d directory, whose names begin with S or K, are executed when /sbin/rc1 is run. All files in rc1.d are linked from files in the /etc/init.d directory. Other files may be added to the /etc/rc1.d directory as a function of adding hardware or software to the system.

/sbin/rc2

This file contains a shell script executed by init(1M) for transitions to system state 2 (multi-user state). Executable files in the /etc/rc.d directory, and any executable files in the /etc/rc2.d directory whose names begin with S or K, are executed when /sbin/rc2 is run. All files in rc2.d are linked from files in the /etc/init.d directory. Other files may be added to the /etc/rc2.d directory as a function of adding hardware or software to the system.

/sbin/rc3

This file is executed by /sbin/init. It executes the shell scripts in /etc/rc3.d for transitions to networking state (system state 3).

/sbin/rc6

This shell script is run for transitions to system state 6 (for example, using shutdown -i6). If the operating system needs to be reconfigured, the /etc/conf/bin/idcpunix script is run, and, if the reconfiguration is successful, /sbin/rc6 reboots the operating system without running diagnostics. If the reconfiguration is unsuccessful, a shell is spawned.

/sbin/shutdown

This file contains a shell script to shut down the system gracefully in preparation for a system backup or scheduled downtime. After stopping all nonessential processes, the shutdown script executes files in the /etc/shutdown.d directory by calling /sbin/rc0 for transitions to system state 1 (single-user state). For transitions to other system states, the shutdown script calls /sbin/init.


Next topic: Directories in /var
Previous topic: Directories in /usr

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004