From 9404a96a579f2ebd82d77c3ba8211cd279bda2eb Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Tue, 2 Oct 2012 21:15:17 +0100 Subject: swapon: clarify swapon.8 priority option Value -1 is valid argument for -p, even though it might not make much sense as the -1 is in use when priority is not specified at all. Signed-off-by: Sami Kerola --- sys-utils/swapon.8 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys-utils/swapon.8') diff --git a/sys-utils/swapon.8 b/sys-utils/swapon.8 index 0247ad8ca..2fbf85506 100644 --- a/sys-utils/swapon.8 +++ b/sys-utils/swapon.8 @@ -150,8 +150,8 @@ is needed.) .B "\-p, \-\-priority \fIpriority\fP" Specify the priority of the swap device. .I priority -is a value between 0 and 32767. Higher numbers indicate higher -priority. See +is a value between \-1 and 32767. Higher numbers indicate +higher priority. See .BR swapon (2) for a full description of swap priorities. Add .BI pri= value @@ -159,6 +159,7 @@ to the option field of .I /etc/fstab for use with .BR "swapon -a" . +When priority is not defined it defaults to \-1. .TP .B "\-s, \-\-summary" Display swap usage summary by device. Equivalent to "cat /proc/swaps". -- cgit v1.2.3-55-g7522