HP-UX HB v13.00 Ch-07 - Kernel Configuration

HP-UX Handbook Rev 13.00 Page 5 (of 33)
Chapter 07 Kernel Configuration
October 29, 2013
NOTE: The bundled C compiler /usr/ccs/bin/cc is used for kernel compilation not the ANSI
C compiler.
The System file /stand/system
The system file is the user-provided description of an HP-UX system. It comprises of three parts:
Device driver
Swap & dump devices
Tunable system parameters
Details regarding the syntax can be found in the config(1M) manual page.
Device Driver, Pseudo Driver and Subsystems
Each line has the format
drivername
where the driver needs to exist in the kernel configuration table in the directory
/usr/conf/master.d, i.e. a file called drivername must exist in that directory.
Example:
# grep -i fcms /stand/system
fcms
# ll /usr/conf/master.d/fcms
-r--r--r-- 1 bin bin 5828 Nov 20 1999 /usr/conf/master.d/fcms
Swap and Dump Devices
/dev/vg00/lvol2 is the primary swap and dump device by default. If you like to configure a
whole disk or a section of a disk as primary swap device, the following line needs to be added to
the system file:
swap [hw_path] [offset] [blocks] [options]
This is not recommended because you won’t get a warning if you mistakenly try to use this swap
disk for LVM.
You can also configure dump devices on whole disks or sections. This is also not recommended
for the same reasons. The system file should only contain the line by default:
dump lvol
This entry is the default and it means that you can configure other dump devices in addition to
the primary swap device, /dev/vg00/lvol2, (using lvlnboot -d).