SWAPON[HFS](2) — HP-UX
Series 200, 300, 800 Only
NAME
swapon − add a swap device for interleaved paging/swapping
SYNOPSIS
swapon (special)
char *special;
DESCRIPTION
Swapon makes the block device special available to the system for allocation for paging and swapping. The names of potentially available devices are known to the system and defined at system configuration time. See the System Administrator’s Manual for information on how the size of the swap area is calculated.
Swapon may be invoked only by the super-user.
RETURNS
Swapon will fail if one or more of the following are true:
[ENOTBLK] Special is not the name of a block special file.
[ENXIO] The device associated with special could not be opened.
[EBUSY] The device associated with special is already in use.
[ENODEV] The device associated with special does not exist.
[EPERM] The effective user ID is not super-user.
WARNINGS
There is no way to stop swapping on a disk so that the pack may be dismounted.
HARDWARE DEPENDENCIES
The HFS file system is implemented on Series 200 beginning with HP-UX Release 5.0, and on Series 300 and Series 800.
AUTHOR
Swapon was developed by the University of California, Berkeley.
SEE ALSO
Hewlett-Packard Company — Version B.1, May 11, 2021