]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - misc/dumpe2fs.8.in
libext2fs: reject opening a file system where the blocks per group < 8
[thirdparty/e2fsprogs.git] / misc / dumpe2fs.8.in
CommitLineData
a418d3ad
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.\"
74becf3c 5.TH DUMPE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
3839e657 6.SH NAME
e87bb84b 7dumpe2fs \- dump ext2/ext3/ext4 file system information
3839e657
TT
8.SH SYNOPSIS
9.B dumpe2fs
5c576477 10[
0858268d 11.B \-bfghixV
5c576477
TT
12]
13[
db197a81 14.B \-o superblock=\fIsuperblock
02e7dd9a
TT
15]
16[
db197a81 17.B \-o blocksize=\fIblocksize
02e7dd9a 18]
caf8ce4c 19.I device
3839e657 20.SH DESCRIPTION
caf8ce4c 21.B dumpe2fs
e87bb84b 22prints the super block and blocks group information for the file system
3839e657
TT
23present on
24.I device.
25.PP
d1c9b6ea 26.B Note:
e87bb84b 27When used with a mounted file system, the printed
d1c9b6ea 28information may be old or inconsistent.
5c576477
TT
29.SH OPTIONS
30.TP
caf8ce4c 31.B \-b
e87bb84b 32print the blocks which are reserved as bad in the file system.
5c576477 33.TP
db197a81 34.B \-o superblock=\fIsuperblock
caf8ce4c
TT
35use the block
36.I superblock
e87bb84b
TT
37when examining the file system.
38This option is not usually needed except by a file system wizard who
39is examining the remains of a very badly corrupted file system.
02e7dd9a 40.TP
db197a81 41.B \-o blocksize=\fIblocksize
caf8ce4c
TT
42use blocks of
43.I blocksize
e87bb84b
TT
44bytes when examining the file system.
45This option is not usually needed except by a file system wizard who
46is examining the remains of a very badly corrupted file system.
02e7dd9a 47.TP
caf8ce4c 48.B \-f
e87bb84b
TT
49force dumpe2fs to display a file system even though it may have some
50file system feature flags which dumpe2fs may not understand (and which
2740156b 51can cause some of dumpe2fs's display to be suspect).
0858268d
DW
52.TP
53.B \-g
54display the group descriptor information in a machine readable colon-separated
55value format. The fields displayed are the group number; the number of the
56first block in the group; the superblock location (or -1 if not present); the
57range of blocks used by the group descriptors (or -1 if not present); the block
58bitmap location; the inode bitmap location; and the range of blocks used by the
59inode table.
d04ad325 60.TP
caf8ce4c 61.B \-h
2740156b
TT
62only display the superblock information and not any of the block
63group descriptor detail information.
64.TP
348e43dc 65.B \-i
e87bb84b 66display the file system data from an image file created by
348e43dc 67.BR e2image ,
d04ad325 68using
348e43dc
TT
69.I device
70as the pathname to the image file.
71.TP
32b8802a
SI
72.B \-m
73If the
74.B mmp
e87bb84b 75feature is enabled on the file system, check if
32b8802a
SI
76.I device
77is in use by another node, see
78.BR e2mmpstatus (8)
79for full details. If used together with the
80.B \-i
81option, only the MMP block information is printed.
82.TP
80c22c90
TT
83.B \-x
84print the detailed group information block numbers in hexadecimal format
85.TP
caf8ce4c 86.B \-V
d04ad325 87print the version number of
583ccdc3
TT
88.B dumpe2fs
89and exit.
32b8802a
SI
90.SH EXIT CODE
91.B dumpe2fs
92exits with a return code of 0 if the operation completed without errors.
93It will exit with a non-zero return code if there are any errors, such
94as problems reading a valid superblock, bad checksums, or if the device
95is in use by another node and
96.B -m
97is specified.
3839e657 98.SH BUGS
e87bb84b 99You may need to know the physical file system structure to understand the
3839e657
TT
100output.
101.SH AUTHOR
d04ad325 102.B dumpe2fs
2e5a1b9e
TT
103was written by Remy Card <Remy.Card@linux.org>. It is currently being
104maintained by Theodore Ts'o <tytso@alum.mit.edu>.
3839e657
TT
105.SH AVAILABILITY
106.B dumpe2fs
d04ad325 107is part of the e2fsprogs package and is available from
348e43dc 108http://e2fsprogs.sourceforge.net.
3839e657
TT
109.SH SEE ALSO
110.BR e2fsck (8),
32b8802a 111.BR e2mmpstatus (8),
3839e657 112.BR mke2fs (8),
3c22bf7e
TT
113.BR tune2fs (8).
114.BR ext4 (5)
348e43dc 115