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