blob: 2153b3380052c179be38c3eeb6df6b8e956a3ac8 [file] [log] [blame]
Theodore Ts'oa789d841998-03-30 01:20:55 +00001.\" -*- 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
7e2label \- Change the label on an ext2 filesystem
8.SH SYNOPSIS
9.B e2label
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000010.I device
Theodore Ts'oa789d841998-03-30 01:20:55 +000011[
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000012.I new-label
Theodore Ts'oa789d841998-03-30 01:20:55 +000013]
14.SH DESCRIPTION
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000015.B e2label
Theodore Ts'oa789d841998-03-30 01:20:55 +000016will display or change the filesystem label on the ext2 filesystem located on
17.I device.
18.PP
19If the optional argument
20.I new-label
21is not present,
22.B e2label
23will simply display the current filesystem label.
24.PP
25If the optional argument
26.I new-label
27is present, then
28.B e2label
29will set the filesystem label to be
30.IR new-label .
31Ext2 filesystem labels can be at most 16 characters long; if
32.I new-label
33is longer than 16 characters,
34.B e2label
35will truncate it and print a warning message.
36.PP
37It is also possible to set the filesystem label using the
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000038.B \-L
Theodore Ts'oa789d841998-03-30 01:20:55 +000039option of
40.BR tune2fs (8).
41.PP
42.SH AUTHOR
43.B e2label
44was written by Andries Brouwer (aeb@cwi.nl).
45.SH AVAILABILITY
46.B e2label
47is part of the e2fsprogs package and is available for anonymous
48ftp from tsx-11.mit.edu in /pub/linux/packages/ext2fs.
49.SH SEE ALSO
50.BR mke2fs (8),
51.BR tune2fs (8)
52