idconfig(1M) UNIX System V(i386) 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 specifying
the configuration of the next UNIX System to be built. A collection of
output files for use by idmkunix 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
The output files produced by idconfig are as follows:
conf.c - Kernel data structures and function definitions
config.h - Kernel parameter and device definitions
vector.c - Interrupt vector definitions
direct - Listing of all driver components included in the build
fsconf.c - File system type configuration data
The command line options are as follows:
-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.
10/89 Page 1
idconfig(1M) UNIX System V(i386) idconfig(1M)
-v file Redirect vector.c output to file name.
-p file Redirect direct output to file name.
-D, -m, -s These options are no longer supported.
-# Print debugging information.
This version of UNIX supports 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. In case of a SCSI device, it would
be a SCSI device. The X stands for the list subscript, 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.
ERROR MESSAGES
An exit value of zero indicates success. If an error i 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
dmkunix(1M), idbuild(1M), idinstall(1M), mdevice(4), mtune(4),
sdevice(4), stune(4).
Page 2 10/89