]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - misc/e2label.8.in
tests: add test for handling an invalid symlink in an inline directory
[thirdparty/e2fsprogs.git] / misc / e2label.8.in
CommitLineData
a789d840
TT
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
e87bb84b 7e2label \- Change the label on an ext2/ext3/ext4 file system
a789d840
TT
8.SH SYNOPSIS
9.B e2label
caf8ce4c 10.I device
a789d840 11[
39460665 12.I volume-label
a789d840
TT
13]
14.SH DESCRIPTION
caf8ce4c 15.B e2label
39460665 16will display or change the volume label on the ext2, ext3, or ext4
e87bb84b 17file system located on
d04ad325 18.I device.
a789d840 19.PP
d04ad325 20If the optional argument
39460665 21.I volume-label
d04ad325 22is not present,
a789d840 23.B e2label
39460665 24will simply display the current volume label.
a789d840
TT
25.PP
26If the optional argument
39460665 27.I volume-label
d04ad325 28is present, then
a789d840 29.B e2label
39460665
TT
30will set the volume label to be
31.IR volume-label .
32Ext2 volume labels can be at most 16 characters long; if
33.I volume-label
d04ad325 34is longer than 16 characters,
a789d840 35.B e2label
d04ad325 36will truncate it and print a warning message.
a789d840 37.PP
39460665 38It is also possible to set the volume label using the
caf8ce4c 39.B \-L
d04ad325 40option of
a789d840
TT
41.BR tune2fs (8).
42.PP
43.SH AUTHOR
d04ad325 44.B e2label
348e43dc 45was written by Theodore Ts'o (tytso@mit.edu).
a789d840
TT
46.SH AVAILABILITY
47.B e2label
d04ad325 48is part of the e2fsprogs package and is available from
348e43dc 49http://e2fsprogs.sourceforge.net.
a789d840
TT
50.SH SEE ALSO
51.BR mke2fs (8),
52.BR tune2fs (8)
53