]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/swapon.8
Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently
[thirdparty/util-linux.git] / sys-utils / swapon.8
index 1b82fa5e69304d79d9fcef44353c4c9bec447b98..276e36e007bdeaafa8fa3991d53c06b72682bfb9 100644 (file)
@@ -129,7 +129,7 @@ For example:
 .RS
 .RS
 .sp
-.B "swapon -o pri=1,discard=pages,nofail /dev/sda2"
+.B "swapon \-o pri=1,discard=pages,nofail /dev/sda2"
 .sp
 .RE
 The \fIopts\fP string is evaluated last and overrides all other
@@ -147,7 +147,7 @@ for a full description of swap priorities.  Add
 to the option field of
 .I /etc/fstab
 for use with
-.BR "swapon -a" .
+.BR "swapon \-a" .
 When no priority is defined, it defaults to \-1.
 .TP
 .BR \-s , " \-\-summary"
@@ -187,6 +187,19 @@ Be verbose.
 .TP
 .BR \-V , " \-\-version"
 Display version information and exit.
+.SH ENVIRONMENT
+.IP LIBMOUNT_DEBUG=all
+enables libmount debug output.
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
+
+.SH FILES
+.br
+.I /dev/sd??
+standard paging devices
+.br
+.I /etc/fstab
+ascii filesystem description table
 .SH NOTES
 .SS Files with holes
 The swap file implementation in the kernel expects to be able to write to the
@@ -217,15 +230,13 @@ Swap over \fBNFS\fR may not work.
 .SS Suspend
 .B swapon
 automatically detects and rewrites a swap space signature with old software
-suspend data (e.g. S1SUSPEND, S2SUSPEND, ...). The problem is that if we don't
+suspend data (e.g., S1SUSPEND, S2SUSPEND, ...). The problem is that if we don't
 do it, then we get data corruption the next time an attempt at unsuspending is
 made.
-.SH ENVIRONMENT
-.IP LIBMOUNT_DEBUG=all
-enables libmount debug output.
-.IP LIBBLKID_DEBUG=all
-enables libblkid debug output.
-
+.SH HISTORY
+The
+.B swapon
+command appeared in 4.0BSD.
 .SH SEE ALSO
 .BR swapoff (2),
 .BR swapon (2),
@@ -235,17 +246,6 @@ enables libblkid debug output.
 .BR mkswap (8),
 .BR mount (8),
 .BR rc (8)
-.SH FILES
-.br
-.I /dev/sd??
-standard paging devices
-.br
-.I /etc/fstab
-ascii filesystem description table
-.SH HISTORY
-The
-.B swapon
-command appeared in 4.0BSD.
 .SH AVAILABILITY
 The swapon command is part of the util-linux package and is available from
 https://www.kernel.org/pub/linux/utils/util-linux/.