From fd6b7a7ffc50400704beb41d5a23af5f9edb1eed Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 7 Dec 2006 00:25:34 +0100 Subject: Imported from util-linux-2.7.1 tarball. --- mount/swapon.8 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'mount/swapon.8') diff --git a/mount/swapon.8 b/mount/swapon.8 index 911855dcf..0ebb450a8 100644 --- a/mount/swapon.8 +++ b/mount/swapon.8 @@ -36,6 +36,7 @@ .\" Sat Oct 9 09:35:30 1993: Converted to man format by faith@cs.unc.edu .\" Sat Nov 27 20:22:42 1993: Updated authorship information, faith@cs.unc.edu .\" Mon Sep 25 14:12:38 1995: Added -v and -p information +.\" Tue Apr 30 03:32:07 1996: Added some text from A. Koppenhoefer .\" .TH SWAPON 8 "25 September 1995" "Linux 1.x" "Linux Programmer's Manual" .SH NAME @@ -47,6 +48,8 @@ swapon, swapoff \- enable/disable devices and files for paging and swapping .br .BI "/sbin/swapon [\-v] [\-p " "priority" "] " " specialfile " ... .br +.B /sbin/swapon [\-s] +.br .B /sbin/swapoff [\-h \-V] .br .B /sbin/swapoff \-a @@ -70,6 +73,9 @@ Provide help .B \-V Display version .TP +.B \-s +Display swap usage summary by device +.TP .B \-a All devices marked as ``sw'' swap devices in .I /etc/fstab @@ -81,6 +87,15 @@ Specify priority for This option is only available if .B swapon was compiled under and is used under a 1.3.2 or later kernel. +.I priority +is a value between 0 and 32767. See +.BR swapon (2) +for a full description of swap priorities. Add +.BI pri= value +to the option field of +.I /etc/fstab +for use with +.BR "swapon -a" . .PP .B Swapoff disables swapping on the specified devices and files, or on all swap -- cgit v1.2.3-55-g7522