Whamcloud - gitweb
Adjust description line so that apropos "ext2" or "ext3" will
[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 filesystem
8 .SH SYNOPSIS
9 .B e2label
10 .I device
11 [
12 .I new-label
13 ]
14 .SH DESCRIPTION
15 .B e2label
16 will display or change the filesystem label on the ext2 filesystem located on
17 .I device.  
18 .PP
19 If the optional argument 
20 .I new-label
21 is not present, 
22 .B e2label
23 will simply display the current filesystem label.
24 .PP
25 If the optional argument
26 .I new-label
27 is present, then 
28 .B e2label
29 will set the filesystem label to be
30 .IR new-label .
31 Ext2 filesystem labels can be at most 16 characters long; if
32 .I new-label 
33 is longer than 16 characters, 
34 .B e2label
35 will truncate it and print a warning message.  
36 .PP
37 It is also possible to set the filesystem label using the
38 .B \-L
39 option of 
40 .BR tune2fs (8).
41 .PP
42 .SH AUTHOR
43 .B e2label 
44 was written by Theodore Ts'o (tytso@mit.edu).
45 .SH AVAILABILITY
46 .B e2label
47 is part of the e2fsprogs package and is available from 
48 http://e2fsprogs.sourceforge.net.
49 .SH SEE ALSO
50 .BR mke2fs (8),
51 .BR tune2fs (8)
52