insdriver(1) INTERACTIVE UNIX System insdriver(1)
NAME
insdriver - install kernel driver files
SYNOPSIS
insdriver [ -r root_directory ] [ -d driver_directory ]
[ -n driver_name ]
DESCRIPTION
The insdriver command creates the kernel module directory,
copies the driver files into it, and optionally, executes
/etc/kconfig to configure and build a kernel.
By default, the configuration directory is /etc/conf; this
may be overridden by setting the environment variable $CONF
or by using the -r option on the command line. Setting
$CONF will cause the configuration directory to become
$CONF/etc/conf. This requires that the directory /etc/conf
exist in $CONF.
For a description of the configuration directory and kernel
module files, see chapter 3 of the Integrated Software
Development Guide.
The driver directory is the directory currently containing
the driver files. If not supplied on the command line,
insdriver queries for the driver directory.
If the driver name is not supplied on the command line,
insdriver queries for the name. This name must be the name
of the driver object file (.o file) and is the name that
will be used in the system file modules list.
insdriver queries for a one-line description of the driver.
This description is entered in
$CONF/etc/conf/pack.d/description for use by the kconfig
command.
After the files in the driver directory are copied to
$CONF/etc/conf/pack.d/driver_name and the description file
is updated, insdriver queries for kernel build and, on
verification, executes /etc/kconfig.
Examples
insdriver -r /tmp/tstconf -d mousedir -n mouse
The driver files in the directory mousedir will be copied to
/tmp/tstconf/etc/conf/pack.d/mouse.
FILES
$CONF/kconfig.d/description
SEE ALSO
inskern(1), kconfig(1), mkunix(1M) in the INTERACTIVE UNIX
Rev. 1.1 Page 1
insdriver(1) INTERACTIVE UNIX System insdriver(1)
System User's/System Administrator's Reference Manual.
Integrated Software Development Guide.
Rev. 1.1 Page 2