Theodore Ts'o | a789d84 | 1998-03-30 01:20:55 +0000 | [diff] [blame] | 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 filesystem |
| 8 | .SH SYNOPSIS |
| 9 | .B e2label |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 10 | .I device |
Theodore Ts'o | a789d84 | 1998-03-30 01:20:55 +0000 | [diff] [blame] | 11 | [ |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 12 | .I new-label |
Theodore Ts'o | a789d84 | 1998-03-30 01:20:55 +0000 | [diff] [blame] | 13 | ] |
| 14 | .SH DESCRIPTION |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 15 | .B e2label |
Theodore Ts'o | a789d84 | 1998-03-30 01:20:55 +0000 | [diff] [blame] | 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 |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 38 | .B \-L |
Theodore Ts'o | a789d84 | 1998-03-30 01:20:55 +0000 | [diff] [blame] | 39 | option of |
| 40 | .BR tune2fs (8). |
| 41 | .PP |
| 42 | .SH AUTHOR |
| 43 | .B e2label |
| 44 | was written by Andries Brouwer (aeb@cwi.nl). |
| 45 | .SH AVAILABILITY |
| 46 | .B e2label |
| 47 | is part of the e2fsprogs package and is available for anonymous |
| 48 | ftp from tsx-11.mit.edu in /pub/linux/packages/ext2fs. |
| 49 | .SH SEE ALSO |
| 50 | .BR mke2fs (8), |
| 51 | .BR tune2fs (8) |
| 52 | |