aboutsummaryrefslogtreecommitdiff
path: root/sbin/swapon
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2003-02-24 08:52:06 +0000
committerDavid Schultz <das@FreeBSD.org>2003-02-24 08:52:06 +0000
commit1281f763a9f25164355f72cb1d1722609c5a7272 (patch)
tree79c054cd6f2cbb21fad784c3156c8ee34a2b9e42 /sbin/swapon
parent4937798d565eab9bf594d51b141f3b2fa9b3d4b0 (diff)
downloadsrc-1281f763a9f25164355f72cb1d1722609c5a7272.tar.gz
src-1281f763a9f25164355f72cb1d1722609c5a7272.zip
Clarify about NSWAPDEV, add a DIAGNOSTICS section pointing to
swapon(2), and correct HISTORY. Reviewed by: mike (mentor)
Notes
Notes: svn path=/head/; revision=111425
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 cb6cd0098989..65e7c730ad50 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 .