HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)

s
system(4) system(4)
selects the driver for SCSI disk drives.
module pseudodrv loaded 1.0.[3E0D0C96]
dynamically loads the module pseudodrv.
System files may also contain lines that are used to:
define the swap device
define the dump device(s)
provide an explicit binding a driver to a hardware path
define status and values of selected system parameters.
Lines are constructed as indicated below for each category.
Swap Device Specification
This method of swap specification will be obsoleted in future releases.
swapctl() is the preferred
method for configuring swap.
No more than one swap specification is allowed. If swap specification is not given, then primary swap
binding is set to
Default. On a system using the Logical Volume Manager (LVM),
Default is
equivalent to
lvol. On other systems, the Default is to page to the root disk, in the area between
the end of the root file system and the end of the disk.
swap hw_path offset [ blocks]
Configure the swap device location and its size as specified. Arguments are interpreted
as follows:
hw_path The hardware path representing the device to configure as the swap device or
the string default may be used to indicate using the root device.
offset The swap area location. Boundaries are located at 1K-byte intervals. A nega-
tive value specifies that a file system is expected on the device. At boot-up,
the super block is read to determine the exact size of the file system, and this
value is put in offset. If the swap device is auto-configured, this is the
mechanism used. If the super block is invalid, the entry will be skipped so
that a corrupted super block will not later cause the entire file system to be
corrupted by configuring the swap area on top of it. A positive or zero value
for offset specifies the minimum area that must be reserved. Zero means to
reserve no area at the head of the device. A zero value implies that there is
no file system on the device.
blocks The number (in decimal) of 1K-byte disk blocks in the swap area. For this
swap device specification, only the blocks parameter is optional. Zero is the
default for auto-configuration. If blocks is zero, the entire remainder of the
device is automatically configured in as swap area. If blocks is non-zero, its
absolute value is treated as an upper bound for the size of the swap area.
Then, if the swap area size has actually been cut back, the sign of blocks
determines whether blocks remains as is, resulting in the swap area being
adjacent to the reserved area, or whether blocks is bumped by the size of the
unused area, resulting in the swap area being adjacent to the tail of the dev-
ice.
swap lvol Configure swap on a logical volume.
swap none Configure the kernel with no swap device.
Dump Device Specifications
One or more dump specifications are allowed. If a dump specification is not given, then the primary
swap area will be used.
dump hw_path Configure the dump device location and its size as specified. hw_path is the
hardware path representing the device to configure as a dump device or the string
default may be used to indicate using the primary swap area.
dump lvol Configure dump on a logical volume.
dump none Configure the kernel with no dump device.
HP-UX 11i Version 3: February 2007 2 Hewlett-Packard Company 469