If the target machine for testing a driver is the same as the development machine, rebuild the kernel including the new driver and reboot the machine to test the driver.
If the target system has SCO OpenServer 5 Release 5 installed and was not upgraded from a previous release, the boot filesystem mounted on /stand will already contain two versions of the kernel that can be used when rebooting:
If the target machine for testing a driver is not the same as the
development system, it may be desirable to create a private version of
the Link Kit to build new versions of the kernel that include the driver.
Either of the following commands will make a copy of the Link Kit in
find /etc/conf -follow -print | cpio -pLd /tmp/new_root
copy -r /etc/conf /tmp/new_root
To allow the Link Kit tools to use this version of the Link Kit, the
environment variable ROOT must be set to the new path. For
example, in the Bourne or Korn shells, enter the following
commands to build a new kernel in /tmp/new_root/etc/conf/cf.d
after you have set up the files for your driver in the
You may also need to configure other drivers similarly for the target machine.
A newly-built kernel may then be copied to a mounted boot floppy for testing
on the target system. In SCO OpenServer 5 Release 5, the kernel can be copied to the
boot floppy in compressed form if it will not fit otherwise:
compress -Hc unix > /mnt/unix.Z