/etc/conf/bin/idinstall -g [-chHilnpqrst] dev_name
The following options specify actions:
The following are miscellaneous options:
Driver.o, Space.c, Stubs.c, and any header files in the current directory are moved to a directory in /etc/conf/pack.d, and end up in /etc/conf/pack.d/dev_name. The dev_name is passed as an argument, which is used as the directory name. The remaining components are stored in the corresponding directories under /etc/conf in a file whose name is dev_name. For example, the Node file would be moved to /etc/conf/node.d/dev_name.
The idinstall -m usage provides an interface to the idmaster command which will add, delete, and update mdevice file entries using a Master file from the local directory. An interface is provided here so that driver writers have a consistent interface to install any DSP component.
If the -M option is specified, idinstall copies any records from an Mtune file in the local directory to /etc/conf/cf.d/mtune. Records for new parameters are appended to the file. Records for existing parameters are updated. New values for parameters must be self-consistent, consistent with the corresponding entry for the parameter in /etc/conf/cf.d/stune, and may not reduce the range of values currently allowed for the parameter. If idinstall -d is used to remove a driver, it does not delete or change entries that have been previously added or updated.
As stated above, driver writers will generally use only the idinstall -a dev_name form of the command. Other options of idinstall are provided to allow an Update DSP (that is, one that replaces an existing device driver component) to be installed, and to support installation of multiple controller boards of the same type.
If the call to idinstall uses the -u (update) option, it will:
If the -L option is specified with the add (-a) or update (-u) options, the Driver.o and Stubs.c files are installed using a symbolic link rather than being copied physically. This allows a component to have a single copy of a sharable file in its own Software Storage Object (SSO). It can then export this file to multiple clients in order to save space on an installed system.
You should always specify the -k option with -L; the newly created symbolic link will not be resolvable if the original file is removed.
idinstall makes a record of the last device installed in a file (/etc/.last_dev_add), and saves all removed files from the last delete operation in a directory (/etc/.last_dev_del). These files are recovered by /etc/conf/bin/idmkenv whenever it is determined that a system reconfiguration was aborted due to a power failure or unexpected system reboot.
Device package already exists. Cannot make the driver package directory. Cannot remove driver package directory. Local directory does not contain a Driver object (Driver.o) file. Local directory does not contain a Master file. Local directory does not contain a System file. Cannot remove driver entry.