summaryrefslogtreecommitdiffstats
path: root/sbin/swapon
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2003-02-24 08:52:06 +0000
committerdas <das@FreeBSD.org>2003-02-24 08:52:06 +0000
commit859f2bea3a00209d69505d75da1d515653b77b13 (patch)
tree79c054cd6f2cbb21fad784c3156c8ee34a2b9e42 /sbin/swapon
parent9f419c5edf00e02a97a43f46dc63e834a7e61c97 (diff)
downloadFreeBSD-src-859f2bea3a00209d69505d75da1d515653b77b13.zip
FreeBSD-src-859f2bea3a00209d69505d75da1d515653b77b13.tar.gz
Clarify about NSWAPDEV, add a DIAGNOSTICS section pointing to
swapon(2), and correct HISTORY. Reviewed by: mike (mentor)
Diffstat (limited to 'sbin/swapon')
-rw-r--r--sbin/swapon/swapon.811
1 files changed, 8 insertions, 3 deletions
diff --git a/sbin/swapon/swapon.8 b/sbin/swapon/swapon.8
index cb6cd00..65e7c73 100644
--- a/sbin/swapon/swapon.8
+++ b/sbin/swapon/swapon.8
@@ -60,8 +60,10 @@ utilties are used to control swap devices in the system. At boot time all
swap entries in
.Pa /etc/fstab
are added automatically when the system goes multi-user.
-Swap devices are interleaved and kernels are typically configured
-to handle a maximum of 4 swap devices. There is no priority mechanism.
+Swap devices use a fixed interleave; the maximum number of devices
+is specified by the kernel configuration option NSWAPDEV, which
+is typically set to 4.
+There is no priority mechanism.
.Pp
The
.Nm swapon
@@ -131,6 +133,9 @@ Output values in kilobytes.
The BLOCKSIZE environment variable is used if not specifically
overridden. 512 byte blocks are used by default.
.El
+.Sh DIAGNOSTICS
+These utilities may fail for the reasons described in
+.Xr swapon 2 .
.Sh SEE ALSO
.Xr swapon 2 ,
.Xr fstab 5 ,
@@ -155,4 +160,4 @@ utility appeared in
The
.Nm swapoff
utility appeared in
-.Fx 5.0 .
+.Fx 5.1 .
OpenPOWER on IntegriCloud