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