summaryrefslogtreecommitdiffstats
path: root/sys-utils/swapon.8
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys-utils/swapon.88
-rw-r--r--sys-utils/swapon.8.adoc2
2 files changed, 5 insertions, 5 deletions
diff --git a/sys-utils/swapon.8 b/sys-utils/swapon.8
index 88c57f2..bbdaa80 100644
--- a/sys-utils/swapon.8
+++ b/sys-utils/swapon.8
@@ -2,12 +2,12 @@
.\" Title: swapon
.\" Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 2.0.20
-.\" Date: 2023-12-01
+.\" Date: 2024-03-20
.\" Manual: System Administration
-.\" Source: util-linux 2.39.3
+.\" Source: util-linux 2.40
.\" Language: English
.\"
-.TH "SWAPON" "8" "2023-12-01" "util\-linux 2.39.3" "System Administration"
+.TH "SWAPON" "8" "2024-03-20" "util\-linux 2.40" "System Administration"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
@@ -98,7 +98,7 @@ The \fIopts\fP string is evaluated last and overrides all other command line opt
.sp
\fB\-p\fP, \fB\-\-priority\fP \fIpriority\fP
.RS 4
-Specify the priority of the swap device. \fIpriority\fP is a value between \-1 and 32767. Higher numbers indicate higher priority. See \fBswapon\fP(2) for a full description of swap priorities. Add \fBpri=\fP\fIvalue\fP to the option field of \fI/etc/fstab\fP for use with \fBswapon \-a\fP. When no priority is defined, it defaults to \-1.
+Specify the priority of the swap device. \fIpriority\fP is a value between 0 and 32767. Higher numbers indicate higher priority. See \fBswapon\fP(2) for a full description of swap priorities. Add \fBpri=\fP\fIvalue\fP to the option field of \fI/etc/fstab\fP for use with \fBswapon \-a\fP. When no priority is defined, Linux kernel defaults to negative numbers.
.RE
.sp
\fB\-s\fP, \fB\-\-summary\fP
diff --git a/sys-utils/swapon.8.adoc b/sys-utils/swapon.8.adoc
index cf1b28f..4335d7f 100644
--- a/sys-utils/swapon.8.adoc
+++ b/sys-utils/swapon.8.adoc
@@ -63,7 +63,7 @@ Specify swap options by an __fstab__-compatible comma-separated string. For exam
The _opts_ string is evaluated last and overrides all other command line options.
*-p*, *--priority* _priority_::
-Specify the priority of the swap device. _priority_ is a value between -1 and 32767. Higher numbers indicate higher priority. See *swapon*(2) for a full description of swap priorities. Add **pri=**__value__ to the option field of _/etc/fstab_ for use with *swapon -a*. When no priority is defined, it defaults to -1.
+Specify the priority of the swap device. _priority_ is a value between 0 and 32767. Higher numbers indicate higher priority. See *swapon*(2) for a full description of swap priorities. Add **pri=**__value__ to the option field of _/etc/fstab_ for use with *swapon -a*. When no priority is defined, Linux kernel defaults to negative numbers.
*-s*, *--summary*::
Display swap usage summary by device. Equivalent to *cat /proc/swaps*. This output format is DEPRECATED in favour of *--show* that provides better control on output data.