1SWAPLABEL(8)               Linux Programmer's Manual              SWAPLABEL(8)
2
3
4

NAME

6       swaplabel - Print or change the label / UUID of a swap area
7

SYNOPSIS

9       swaplabel [-L label] [-U UUID] device
10

DESCRIPTION

12       swaplabel  will  display or change the label / UUID of a swap partition
13       located on device (or regular file).
14
15       If the optional arguments -L and -U are  not  present,  swaplabel  will
16       simply display the swap area label and UUID of device.
17
18       If  an  optional  argument  is  present, then swaplabel will change the
19       appropriate value of device.  These values can also be set during  swap
20       creation  using  mkswap(8).  The swaplabel utility allows to change the
21       label or UUID on actively used swap device.
22

OPTIONS

24       -h, --help
25              Print help and exit.
26
27       -L, --label label
28              Specify a new label for device.  Swap partition labels can be at
29              most 16 characters long.  If label is longer than 16 characters,
30              swapinfo will truncate it and print a warning message.
31
32       -U, --uuid uuid
33              Specify a new UUID for device.  UUID must  be  in  the  standard
34              8-4-4-4-12 character format, such as is ouput by uuidgen(1).
35

AUTHOR

37       swaplabel  was written by Jason Borden <jborden@bluehost.com> and Karel
38       Zak <kzak@redhat.com>.
39

AVAILABILITY

41       swaplabel is part of the util-linux-ng package and  is  available  from
42       ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
43

SEE ALSO

45       mkswap(8), swapon(8), uuidgen(1)
46
47
48
49Linux                            2 April 2010                     SWAPLABEL(8)
Impressum