Commit | Line | Data |
---|---|---|
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 | |
10 | swapon \- 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 | |
15 | is used to specify additional devices on which paging and swapping | |
16 | are to take place. | |
17 | The system begins by swapping and paging on only a single device | |
18 | so that only one disk is required at bootstrap time. | |
19 | Calls to | |
20 | .I swapon | |
21 | normally occur in the system multi-user initialization file | |
22 | .I /etc/rc | |
23 | making all swap devices available, so that the paging and swapping | |
24 | activity is interleaved across several devices. | |
25 | .PP | |
26 | Normally, the | |
27 | .B \-a | |
28 | argument is given, causing all devices marked as ``sw'' | |
29 | swap devices in | |
30 | .B /etc/fstab | |
31 | to be made available. | |
32 | .PP | |
33 | The second form gives individual block devices as given | |
34 | in the system swap configuration table. The call makes only this space | |
35 | available to the system for swap allocation. | |
36 | .SH SEE ALSO | |
37 | swapon(2), init(8) | |
38 | .SH FILES | |
39 | .DT | |
da8074e5 | 40 | /dev/[ru][pk]?b standard paging devices |
bd32a0dc KM |
41 | .SH BUGS |
42 | There is no way to stop paging and swapping on a device. | |
43 | It is therefore not possible to make use of devices which may be | |
44 | dismounted during system operation. |