blob: befaf94826027107e33abc0f281a0d41dcc8d011 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001.\" -*- 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 DUMPE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
6.SH NAME
7dumpe2fs \- dump ext2/ext3/ext4 filesystem information
8.SH SYNOPSIS
9.B dumpe2fs
10[
11.B \-bfhixV
12]
13[
14.B \-o superblock=\fIsuperblock
15]
16[
17.B \-o blocksize=\fIblocksize
18]
19.I device
20.SH DESCRIPTION
21.B dumpe2fs
22prints the super block and blocks group information for the filesystem
23present on
24.I device.
25.PP
26.B Note:
27When used with a mounted filesystem, the printed
28information may be old or inconsistent.
29.SH OPTIONS
30.TP
31.B \-b
32print the blocks which are reserved as bad in the filesystem.
33.TP
34.B \-o superblock=\fIsuperblock
35use the block
36.I superblock
37when examining the filesystem.
38This option is not usually needed except by a filesystem wizard who
39is examining the remains of a very badly corrupted filesystem.
40.TP
41.B \-o blocksize=\fIblocksize
42use blocks of
43.I blocksize
44bytes when examining the filesystem.
45This option is not usually needed except by a filesystem wizard who
46is examining the remains of a very badly corrupted filesystem.
47.TP
48.B \-f
49force dumpe2fs to display a filesystem even though it may have some
50filesystem feature flags which dumpe2fs may not understand (and which
51can cause some of dumpe2fs's display to be suspect).
52.TP
53.B \-h
54only display the superblock information and not any of the block
55group descriptor detail information.
56.TP
57.B \-i
58display the filesystem data from an image file created by
59.BR e2image ,
60using
61.I device
62as the pathname to the image file.
63.TP
64.B \-x
65print the detailed group information block numbers in hexadecimal format
66.TP
67.B \-V
68print the version number of
69.B dumpe2fs
70and exit.
71.SH BUGS
72You need to know the physical filesystem structure to understand the
73output.
74.SH AUTHOR
75.B dumpe2fs
76was written by Remy Card <Remy.Card@linux.org>. It is currently being
77maintained by Theodore Ts'o <tytso@alum.mit.edu>.
78.SH AVAILABILITY
79.B dumpe2fs
80is part of the e2fsprogs package and is available from
81http://e2fsprogs.sourceforge.net.
82.SH SEE ALSO
83.BR e2fsck (8),
84.BR mke2fs (8),
85.BR tune2fs (8).
86.BR ext4 (5)
87