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