SWAPON(8) COMMAND REFERENCE SWAPON(8)
NAME
swapon - specify additional device for paging and swapping
SYNOPSIS
/etc/swapon [-a] [-q]
/etc/swapon name ...
DESCRIPTION
Swapon is used to specify additional devices on which paging
and swapping are to take place. The system begins by
swapping and paging on only a single device so that only one
disk is required at bootstrap time. Calls to swapon
normally occur in the system multi-user initialization file
/etc/rc making all swap devices available, so that the
paging and swapping activity is interleaved across several
devices.
In the second form, name is individual block devices as
given in the system swap configuration table. The call
makes only this space available to the system for swap
allocation.
OPTIONS
-a This option causes all devices marked as sw swap devices
in /etc/fstab to be made available.
-q This option prevents warning messages from being printed
if a swap device in /etc/fstab cannot be made available.
FILES
/etc/fstab
RETURN VALUE
[NO_ERRS] Command completed without error.
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_WARN] An error warranting a warning message
occurred. Execution continues.
[P_WARN] A system error occurred. Execution continues.
See intro(2) for more information on system
errors.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
CAVEATS
There is no way to stop paging and swapping on a device. It
is therefore not possible to make use of devices which may
Printed 10/17/86 1
SWAPON(8) COMMAND REFERENCE SWAPON(8)
be dismounted during system operation.
SEE ALSO
swapon(2), fstab(5), init(8).
Printed 10/17/86 2
%%index%%
na:72,94;
sy:166,291;
de:457,821;
op:1278,355;
fi:1633,69;
rv:1702,681;
ca:2383,180;2707,45;
se:2752,170;
%%index%%000000000139