idmkinit(1M) idmkinit(1M)
NAME
idmkinit - construct inittab file from configuration data
SYNOPSIS
/etc/conf/bin/idmkinit [-o directory] [-e directory] [[-M module-name] ...] [-#]
DESCRIPTION
One of the ID/TP kernel configuration tools, idmkinit
reconstructs /etc/inittab from the Init(4) files in
/etc/conf/init.d. The new inittab is normally placed in the
/etc/conf/cf.d directory, although this can be changed through
the -o option.
Options
The command line options are:
-o directory
Create inittab in the directory specified, instead
of the default, /etc/conf/cf.d.
-e directory
Use the init files in the directory specified,
instead of the default location, /etc/conf/init.d.
-M module-name
Append the inittab lines generated from the Init
file, if there is one, of the loadable kernel module
specified to /etc/inittab so it can take effect.
-# Print debugging information.
Return Values
idmkinit returns 0 on success and a positive number on error.
Errors
An exit value of zero indicates success. If an error is
encountered, idmkinit will exit with a non-zero value and
report an error message.
USAGE
In the sysinit state during the next system reboot after a
kernel reconfiguration, the idmkinit command is called
automatically (by idmkenv) to establish the correct
/etc/inittab for the running (newly-built) kernel. idmkinit
is also called by idbuild when loadable kernel module
configuration is requested. idmkinit can be executed as a
Copyright 1994 Novell, Inc. Page 1
idmkinit(1M) idmkinit(1M)
user level command to test a modification of inittab before a
Driver Software Package (DSP) is actually built. It is also
useful in installation scripts that do not reconfigure the
kernel, but which need to create inittab entries. In this
case, the inittab generated by idmkinit must be copied to
/etc/inittab, and an init q command must be run for the new
entry to take effect.
REFERENCES
idbuild(1M), idinstall(1M), idmknod(1M), init(1M), Init(4),
inittab(4)
Copyright 1994 Novell, Inc. Page 2