swapon(8) System Manager's Manual swapon(8)
Name
swapon - specify additional device for paging and swapping
Syntax
/etc/swapon -a
/etc/swapon name ...
Description
The command 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 normally occur in the system multi-user initializa-
tion file making all swap devices available, so that the paging and swapping activity is interleaved across several devices.
Normally, the option is given, causing all devices marked as ``sw'' (swap devices) in to be made available.
The second form gives individual block devices, as listed in the system swap configuration table. The call makes only this space available
to the system for swap allocation.
Restrictions
There is no way to stop paging and swapping on a device. It is therefore not possible to make use of devices which may be dismounted dur-
ing system operation.
Files
Normal paging devices
See Also
swapon(2), init(8)
swapon(8)