BSD 4_2 development
[unix-history] / usr / man / man8 / swapon.8
CommitLineData
b56edb6d
C
1.TH SWAPON 8 "4 February 1983"
2.UC 4
3.SH NAME
4swapon \- specify additional device for paging and swapping
5.SH SYNOPSIS
6.B "/etc/swapon"
7.B \-a
8.br
9.B "/etc/swapon"
10name ...
11.SH DESCRIPTION
12.I Swapon
13is used to specify additional devices on which paging and swapping
14are to take place.
15The system begins by swapping and paging on only a single device
16so that only one disk is required at bootstrap time.
17Calls to
18.I swapon
19normally occur in the system multi-user initialization file
20.I /etc/rc
21making all swap devices available, so that the paging and swapping
22activity is interleaved across several devices.
23.PP
24Normally, the
25.B \-a
26argument is given, causing all devices marked as ``sw''
27swap devices in
28.B /etc/fstab
29to be made available.
30.PP
31The second form gives individual block devices as given
32in the system swap configuration table. The call makes only this space
33available to the system for swap allocation.
34.SH SEE ALSO
35swapon(2), init(8)
36.SH FILES
37.DT
38/dev/[ru][pk]?b normal paging devices
39.SH BUGS
40There is no way to stop paging and swapping on a device.
41It is therefore not possible to make use of devices which may be
42dismounted during system operation.