NASD Programmer's Documentation
Compiling NASD into the dux kernel

Many components of the NASD tree can be compiled into the Digital Unix kernel. This document assumes that the reader is using a PDL-configured Digital Unix kernel and is building that kernel from its sources.

The process of checking out and configuring your kernel tree should include setting up a symbolic link for src/kernel/nasd. This link should point to a NASD source tree which you wish to compile into your kernel. To enable the NASD code, the line

options NASD should appear in src/kernel/conf/alpha/GENERIC.

If you have made changes in your NASD tree, and wish to rebuild your kernel (and you have already built it once with build MAKEFILE_PASS=BASIC), you can rebuild it with:

% nice build GENERIC_nasd; nice build GENERIC_vmunix If you also wish to regenerate dependencies, you would change that to: % nice build GENERIC_nasd; nice build GENERIC_depend; nice build GENERIC_vmunix If source files have been added, or the kernel config files (src/kernel/conf/alpha/BINARY or src/kernel/conf/alpha/GENERIC) have changed, then it is necessary to rebuild with: % nice build MAKEFILE_PASS=BASIC

Important: The dux kernel compile overrides the value of NASD_SECURE_RPCS_ENABLE set in nasd_options.h. To enable security in the dux kernel, the line

options NASD_SECURE_RPCS_ENABLE must appear in src/kernel/conf/alpha/GENERIC. If that line is absent or commented out, the defined value for NASD_SECURE_RPCS_ENABLE will be 0.
<--- ---> ^<br>|<br>|
Compiling NASD Running the drive NASD Programmer's Documentation