Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ idconfig(1M) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

idbuild(1M)

idinstall(1M)

idmkunix(1M)

mdevice(4)

mtune(4)

vice(4)

stune(4)

idconfig(1M)                                                   idconfig(1M)

NAME
     idconfig - produce a new kernel configuration

SYNOPSIS
     /etc/conf/bin/idconfig

DESCRIPTION
     The idconfig command takes as its input a collection of files specify-
     ing the configuration of the next Reliant UNIX system to be built. A
     collection of output files for use by idmkunix(1M) is produced.

     The input files expected by idconfig are as follows:

     mdevice        - Master device specifications
     sdevice        - System device specifications
     mtune          - Master parameter specifications
     stune          - System parameter specifications
     mfsys          - File system type master data
     sfsys          - File system type system data
     sassign        - Device Assignment File
     sema           - STREAMS multiprocessor configuration file

     The output files produced by idconfig are as follows:

     conf.c         - Kernel data structures and function definitions
     config.h       - Kernel parameter and device definitions
     direct         - Listing of all driver components included in the
                    build
     fsconf.c       - File system type configuration data

OPTIONS
     -o directory   Output files will be created in the directory specified
                    rather than /etc/conf/cf.d.

     -i directory   Input files that normally reside in /etc/conf/cf.d can
                    be found in the directory specified.

     -r directory   The directory specified will be used as the ID "root"
                    directory rather than /etc/conf.

     -d file        Use file name rather than sdevice for input.

     -t file        Use file name rather than stune for input.

     -T file        Use file name rather than mtune for input.

     -a file        Use file name rather than sassign for input.

     -c file        Redirect conf.c output to file name.

     -h file        Redirect config.h output to file name.




Page 1                       Reliant UNIX 5.44                Printed 11/98

idconfig(1M)                                                   idconfig(1M)

     -p file        Redirect direct output to file name.

     -s             Suppress searching driver packages.

     -M             Configure a multiprocessor kernel; default is to con-
                    figure a single processor kernel.

     -#             Print debugging information.

     This version of Reliant UNIX does not support multiple major numbers
     for drivers. idconfig generates additional constants (via defines) in
     the config.h file so that they can be used by the driver (as they will
     get referenced in the space.c file) to generate appropriate data
     structures. The information provided by these constants is how many
     major numbers were assigned to the device and what are their values.
     The names of the constants are as follows:

          prfxCMAJORx
          prfxBMAJORx

     where prfx stands for device prefix. The x stands for the list sub-
     script, starting with subscript 0.

     In addition, the configuration file conf.c that initializes bdevsw[]
     and cdevsw[] tables will also add entries for each of the major
     numbers and, as such, the same driver entry points will be repeated
     for each one of the entries.

DIAGNOSTICS
     An exit value of zero indicates success. If an error was encountered,
     idconfig will exit with a non-zero value and report an error message.
     All error messages are designed to be self-explanatory.

SEE ALSO
     idbuild(1M), idinstall(1M), idmkunix(1M), mdevice(4), mtune(4), sde-
     vice(4), stune(4).


















Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026