From 1281f763a9f25164355f72cb1d1722609c5a7272 Mon Sep 17 00:00:00 2001 From: David Schultz Date: Mon, 24 Feb 2003 08:52:06 +0000 Subject: Clarify about NSWAPDEV, add a DIAGNOSTICS section pointing to swapon(2), and correct HISTORY. Reviewed by: mike (mentor) --- sbin/swapon/swapon.8 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'sbin/swapon') 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 . -- cgit v1.2.3