Whamcloud - gitweb
debian: add support for DEB_BUILD_OPTIONS=parallel=N
[tools/e2fsprogs.git] / misc / e2label.8.in
1 .\" -*- nroff -*-
2 .\" Copyright 1993, 1994, 1995 by Theodore Ts'o.  All Rights Reserved.
3 .\" This file may be copied under the terms of the GNU Public License.
4 .\" 
5 .TH E2LABEL 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
6 .SH NAME
7 e2label \- Change the label on an ext2/ext3/ext4 filesystem
8 .SH SYNOPSIS
9 .B e2label
10 .I device
11 [
12 .I volume-label
13 ]
14 .SH DESCRIPTION
15 .B e2label
16 will display or change the volume label on the ext2, ext3, or ext4
17 filesystem located on
18 .I device.
19 .PP
20 If the optional argument
21 .I volume-label
22 is not present,
23 .B e2label
24 will simply display the current volume label.
25 .PP
26 If the optional argument
27 .I volume-label
28 is present, then
29 .B e2label
30 will set the volume label to be
31 .IR volume-label .
32 Ext2 volume labels can be at most 16 characters long; if
33 .I volume-label
34 is longer than 16 characters,
35 .B e2label
36 will truncate it and print a warning message.
37 .PP
38 It is also possible to set the volume label using the
39 .B \-L
40 option of
41 .BR tune2fs (8).
42 .PP
43 .SH AUTHOR
44 .B e2label
45 was written by Theodore Ts'o (tytso@mit.edu).
46 .SH AVAILABILITY
47 .B e2label
48 is part of the e2fsprogs package and is available from
49 http://e2fsprogs.sourceforge.net.
50 .SH SEE ALSO
51 .BR mke2fs (8),
52 .BR tune2fs (8)
53