1998-03-30 09:20:55 +08:00
|
|
|
.\" -*- 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
|
2009-05-31 00:34:28 +08:00
|
|
|
e2label \- Change the label on an ext2/ext3/ext4 filesystem
|
1998-03-30 09:20:55 +08:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B e2label
|
Many files:
badblocks.8.in, chattr.1.in, dumpe2fs.8.in, e2label.8.in,
fsck.8.in, lsattr.1.in, mke2fs.8.in, mklost+found.8.in,
tune2fs.8.in, uuidgen.1.in: Update man page to use a more standard
format (bold option flags and italicized variables), as suggested by
Andreas Dilger (adilger@enel.ucalgary.ca)
ChangeLog, e2fsck.8.in:
e2fsck.8.in: Update man page to use a more standard format (bold
option flags and italicized variables), as suggested by Andreas Dilger
(adilger@enel.ucalgary.ca)
ChangeLog, uuid_generate.3.in:
uuid_generate.8.in: Update man page to use a more standard format
(bold option flags and italicized variables), as suggested by Andreas
Dilger (adilger@enel.ucalgary.ca)
1999-10-22 03:56:34 +08:00
|
|
|
.I device
|
1998-03-30 09:20:55 +08:00
|
|
|
[
|
2017-02-01 05:22:06 +08:00
|
|
|
.I volume-label
|
1998-03-30 09:20:55 +08:00
|
|
|
]
|
|
|
|
.SH DESCRIPTION
|
Many files:
badblocks.8.in, chattr.1.in, dumpe2fs.8.in, e2label.8.in,
fsck.8.in, lsattr.1.in, mke2fs.8.in, mklost+found.8.in,
tune2fs.8.in, uuidgen.1.in: Update man page to use a more standard
format (bold option flags and italicized variables), as suggested by
Andreas Dilger (adilger@enel.ucalgary.ca)
ChangeLog, e2fsck.8.in:
e2fsck.8.in: Update man page to use a more standard format (bold
option flags and italicized variables), as suggested by Andreas Dilger
(adilger@enel.ucalgary.ca)
ChangeLog, uuid_generate.3.in:
uuid_generate.8.in: Update man page to use a more standard format
(bold option flags and italicized variables), as suggested by Andreas
Dilger (adilger@enel.ucalgary.ca)
1999-10-22 03:56:34 +08:00
|
|
|
.B e2label
|
2017-02-01 05:22:06 +08:00
|
|
|
will display or change the volume label on the ext2, ext3, or ext4
|
2009-05-31 00:34:28 +08:00
|
|
|
filesystem located on
|
2017-08-04 13:51:50 +08:00
|
|
|
.I device.
|
1998-03-30 09:20:55 +08:00
|
|
|
.PP
|
2017-08-04 13:51:50 +08:00
|
|
|
If the optional argument
|
2017-02-01 05:22:06 +08:00
|
|
|
.I volume-label
|
2017-08-04 13:51:50 +08:00
|
|
|
is not present,
|
1998-03-30 09:20:55 +08:00
|
|
|
.B e2label
|
2017-02-01 05:22:06 +08:00
|
|
|
will simply display the current volume label.
|
1998-03-30 09:20:55 +08:00
|
|
|
.PP
|
|
|
|
If the optional argument
|
2017-02-01 05:22:06 +08:00
|
|
|
.I volume-label
|
2017-08-04 13:51:50 +08:00
|
|
|
is present, then
|
1998-03-30 09:20:55 +08:00
|
|
|
.B e2label
|
2017-02-01 05:22:06 +08:00
|
|
|
will set the volume label to be
|
|
|
|
.IR volume-label .
|
|
|
|
Ext2 volume labels can be at most 16 characters long; if
|
|
|
|
.I volume-label
|
2017-08-04 13:51:50 +08:00
|
|
|
is longer than 16 characters,
|
1998-03-30 09:20:55 +08:00
|
|
|
.B e2label
|
2017-08-04 13:51:50 +08:00
|
|
|
will truncate it and print a warning message.
|
1998-03-30 09:20:55 +08:00
|
|
|
.PP
|
2017-02-01 05:22:06 +08:00
|
|
|
It is also possible to set the volume label using the
|
Many files:
badblocks.8.in, chattr.1.in, dumpe2fs.8.in, e2label.8.in,
fsck.8.in, lsattr.1.in, mke2fs.8.in, mklost+found.8.in,
tune2fs.8.in, uuidgen.1.in: Update man page to use a more standard
format (bold option flags and italicized variables), as suggested by
Andreas Dilger (adilger@enel.ucalgary.ca)
ChangeLog, e2fsck.8.in:
e2fsck.8.in: Update man page to use a more standard format (bold
option flags and italicized variables), as suggested by Andreas Dilger
(adilger@enel.ucalgary.ca)
ChangeLog, uuid_generate.3.in:
uuid_generate.8.in: Update man page to use a more standard format
(bold option flags and italicized variables), as suggested by Andreas
Dilger (adilger@enel.ucalgary.ca)
1999-10-22 03:56:34 +08:00
|
|
|
.B \-L
|
2017-08-04 13:51:50 +08:00
|
|
|
option of
|
1998-03-30 09:20:55 +08:00
|
|
|
.BR tune2fs (8).
|
|
|
|
.PP
|
|
|
|
.SH AUTHOR
|
2017-08-04 13:51:50 +08:00
|
|
|
.B e2label
|
2001-05-03 22:43:43 +08:00
|
|
|
was written by Theodore Ts'o (tytso@mit.edu).
|
1998-03-30 09:20:55 +08:00
|
|
|
.SH AVAILABILITY
|
|
|
|
.B e2label
|
2017-08-04 13:51:50 +08:00
|
|
|
is part of the e2fsprogs package and is available from
|
2001-05-03 22:43:43 +08:00
|
|
|
http://e2fsprogs.sourceforge.net.
|
1998-03-30 09:20:55 +08:00
|
|
|
.SH SEE ALSO
|
|
|
|
.BR mke2fs (8),
|
|
|
|
.BR tune2fs (8)
|
|
|
|
|