link_unix(ADM)


link_unix -- build a new UNIX system kernel

Syntax

/etc/conf/cf.d/link_unix [ -y | -n ] [ -p ]

Description

After installing a device driver, use link_unix to build a new UNIX system kernel. This script builds /etc/conf/cf.d/unix using the current system configuration in /etc/conf.

With no options, link_unix executes the idbuild command with no options. idbuild rebuilds the kernel and, if successful, sets a flag to instruct the system shutdown/reboot sequence to replace the standard kernel in /stand/unix with the new kernel. Another flag is set to cause the environment (device special files, /etc/inittab, etc.) to be reconfigured accordingly.

The following options are supported:


-y
Adds the -B and -F flags to the idbuild command executed. This forces a full, immediate kernel rebuild. After idbuild completes successfully, link_unix executes:
   idcpunix
   idmkinit -o /etc
idcpunix constructs the new kernel environment and copies the new kernel into /stand. idmkinit reconstructs /etc/inittab from the Init(DSP) files in /etc/conf/init.d.

-n
Adds the -n flag to the idbuild command executed, which checks for configuration and symbol errors, but does not build any modules.

-p
Adds the -K flag to the idbuild command executed, This preserves the temporary configuration files and object modules created by idbuild.

The -y and -n options cannot be specified together.

See also

configure(ADM), idbuild(ADM)

Standards conformance

link_unix is not part of any currently supported standard.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005