]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - disk-utils/swaplabel.8
Merge branch 'cramfs-mkfs' of https://github.com/mator/util-linux
[thirdparty/util-linux.git] / disk-utils / swaplabel.8
index 35724671db7e48e487e1c79d773cbb58277877c1..b623a50200b6b8a20ce30808ae0420c655ffdad0 100644 (file)
@@ -2,9 +2,9 @@
 .\"
 .\" This file may be copied under the terms of the GNU Public License.
 .\"
-.TH SWAPLABEL 8 "2 April 2010" "Linux" "Linux Programmer's Manual"
+.TH SWAPLABEL 8 "April 2010" "util-linux" "System Administration"
 .SH NAME
-swaplabel \- Print or change the label / UUID of a swap area
+swaplabel \- print or change the label or UUID of a swap area
 .SH SYNOPSIS
 .B swaplabel
 .RB [ \-L
@@ -14,53 +14,56 @@ swaplabel \- Print or change the label / UUID of a swap area
 .I device
 .SH DESCRIPTION
 .B swaplabel
-will display or change the label / UUID of a swap partition located on
-.IR device 
+will display or change the label or UUID of a swap partition located on
+.I device
 (or regular file).
 .PP
 If the optional arguments
-.B \-L 
+.B \-L
 and
-.B \-U 
-are not present,
+.B \-U
+are not given,
 .B swaplabel
-will simply display the swap area label and UUID of
+will simply display the current swap-area label and UUID of
 .IR device .
 .PP
 If an optional argument is present, then
 .B swaplabel
-will change the appropriate value of
+will change the appropriate value on
 .IR device .
 These values can also be set during swap creation using
 .BR mkswap (8).
 The
 .B swaplabel
-utility allows to change the label or UUID on actively used swap device.
+utility allows to change the label or UUID on an actively used swap device.
 .SH OPTIONS
-.IP "\fB\-h, \-\-help\fP"
-Print help and exit.
-.IP "\fB\-L, \-\-label\fP \fIlabel\fP"
-Specify a new label for
-.IR device .
+.TP
+.BR \-h , " \-\-help"
+Display help text and exit.
+.TP
+.BR \-L , " \-\-label " \fIlabel\fR
+Specify a new \fIlabel\fR for the device.
 Swap partition labels can be at most 16 characters long.  If
-.IR label
+.I label
 is longer than 16 characters,
-.B swapinfo
+.B swaplabel
 will truncate it and print a warning message.
-.IP "\fB\-U, \-\-uuid\fP \fIuuid\fP"
-Specify a new UUID for
-.IR device .
-.IR UUID
-must be in the standard 8-4-4-4-12 character format, such as is ouput by
-.BR uuidgen (1) .
-.PP
-.SH AUTHOR
+.TP
+.BR \-U , " \-\-uuid " \fIUUID\fR
+Specify a new \fIUUID\fR for the device.
+The \fI UUID\fR
+must be in the standard 8-4-4-4-12 character format, such as is output by
+.BR uuidgen (1).
+.SH ENVIRONMENT
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
+.SH AUTHORS
 .B swaplabel
 was written by Jason Borden <jborden@bluehost.com> and Karel Zak <kzak@redhat.com>.
-.SH AVAILABILITY
-.B swaplabel
-is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
 .SH SEE ALSO
+.BR uuidgen (1),
 .BR mkswap (8),
-.BR swapon (8),
-.BR uuidgen (1)
+.BR swapon (8)
+.SH AVAILABILITY
+The swaplabel command is part of the util-linux package and is available from
+https://www.kernel.org/pub/linux/utils/util-linux/.