don't force extra keystroke after '=' operators
[unix-history] / usr / src / sbin / swapon / swapon.8
CommitLineData
bd32a0dc
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
da8074e5 5.\" @(#)swapon.8 6.2 (Berkeley) %G%
bd32a0dc 6.\"
f5669b0a 7.TH SWAPON 8 ""
bd32a0dc
KM
8.UC 4
9.SH NAME
10swapon \- specify additional device for paging and swapping
11.SH SYNOPSIS
da8074e5 12.B "swapon [-a] [special_file ...]"
bd32a0dc
KM
13.SH DESCRIPTION
14.I Swapon
15is used to specify additional devices on which paging and swapping
16are to take place.
17The system begins by swapping and paging on only a single device
18so that only one disk is required at bootstrap time.
19Calls to
20.I swapon
21normally occur in the system multi-user initialization file
22.I /etc/rc
23making all swap devices available, so that the paging and swapping
24activity is interleaved across several devices.
25.PP
26Normally, the
27.B \-a
28argument is given, causing all devices marked as ``sw''
29swap devices in
30.B /etc/fstab
31to be made available.
32.PP
33The second form gives individual block devices as given
34in the system swap configuration table. The call makes only this space
35available to the system for swap allocation.
36.SH SEE ALSO
37swapon(2), init(8)
38.SH FILES
39.DT
da8074e5 40/dev/[ru][pk]?b standard paging devices
bd32a0dc
KM
41.SH BUGS
42There is no way to stop paging and swapping on a device.
43It is therefore not possible to make use of devices which may be
44dismounted during system operation.