OSCONFIG(8,C) AIX Commands Reference OSCONFIG(8,C) ------------------------------------------------------------------------------- osconfig PURPOSE Installs AIX device drivers. SYNTAX +----------------+ +----------------+ +----------------+ /etc/osconfig ---| one of |--| one of |--| +------------+ |---| | +------------+ | | +------------+ | +-| -c stanza |-+ +-| -a stanza |-+ +-| -d stanza |-+ ^| -h helpdir || | -as stanza | | -ds stanza | || -m mfile || +------------+ +------------+ || -s syfile || || -startup || |+------------+| +--------------+ DESCRIPTION The osconfig command installs AIX device drivers. Normally, it runs automatically at each system startup. Its exit value is the number of errors it encounters. The osconfig command performs its operations through the /dev/config driver. Note: Most users never need to run this command from the command line. FLAGS -a stanza Adds devices to a running system. The osconfig command processes the specified stanza in the file /etc/system or in the file specified with the -s flag. -as stanza Same as the -a flag except that the osconfig command does not invoke the customization helper for the device; it only creates the device special file. -d stanza Deletes a device from a running system. The osconfig command processes the specified stanza in the file /etc/system or in the file specified with the -s flag. The special file list produced includes commands to remove relevant special files, since the osconfig command assumes that the device has been removed from the configuration. Processed July 12, 1991 OSCONFIG(8,C) 1 OSCONFIG(8,C) AIX Commands Reference OSCONFIG(8,C) -ds stanza Same as the -d flag except that the osconfig command does not invoke the customization helper for the device; it only deletes the device special file. -c stanza Changes devices on a running system. The osconfig command processes the specified stanza in the file /etc/system or in the file specified with the -s flag and sends the appropriate information to the device driver. -h helpdir Specifies the directory that contains the configuration helper programs. The default value is the file /etc. -m mfile Specifies the input master configuration file. The default value is the file /etc/master. -s syfile Specifies the input system configuration file. The default value is the file /etc/system. -startup Causes all defined devices to be configured in at system startup. For devices such as minidisks, which remain configured between system restarts, the osconfig command does not perform once-only configuration steps. It does not modify special files that already exist. FILES /etc/confgstatus Status file recording current configuration status /etc/system Default system file /etc/master Default master file specials Default special file list /etc Default directory containing configuration helper programs /etc/ddi Directory containing device specific information files RELATED INFORMATION See the following command: "config." See the master and system files in AIX Operating System Technical Reference. See Chapter 18 of the AIX Programming Tools and Interfaces for general information on using commands in an MBCS environment. Processed July 12, 1991 OSCONFIG(8,C) 2