blob: befaf94826027107e33abc0f281a0d41dcc8d011 [file] [log] [blame]
Theodore Ts'oa418d3a1997-04-26 14:00:26 +00001.\" -*- 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.\"
Theodore Ts'o74becf31997-04-26 14:37:06 +00005.TH DUMPE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
Theodore Ts'o3839e651997-04-26 13:21:57 +00006.SH NAME
Theodore Ts'o4f858542009-05-30 12:34:28 -04007dumpe2fs \- dump ext2/ext3/ext4 filesystem information
Theodore Ts'o3839e651997-04-26 13:21:57 +00008.SH SYNOPSIS
9.B dumpe2fs
Theodore Ts'o5c576471997-04-29 15:29:49 +000010[
Theodore Ts'o348e43d2001-05-03 14:43:43 +000011.B \-bfhixV
Theodore Ts'o5c576471997-04-29 15:29:49 +000012]
13[
Theodore Ts'odb197a82008-02-26 19:05:33 -050014.B \-o superblock=\fIsuperblock
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000015]
16[
Theodore Ts'odb197a82008-02-26 19:05:33 -050017.B \-o blocksize=\fIblocksize
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000018]
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000019.I device
Theodore Ts'o3839e651997-04-26 13:21:57 +000020.SH DESCRIPTION
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000021.B dumpe2fs
Theodore Ts'o3839e651997-04-26 13:21:57 +000022prints the super block and blocks group information for the filesystem
23present on
24.I device.
25.PP
JP Abgralle0ed7402014-03-19 19:08:39 -070026.B Note:
27When used with a mounted filesystem, the printed
28information may be old or inconsistent.
Theodore Ts'o5c576471997-04-29 15:29:49 +000029.SH OPTIONS
30.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000031.B \-b
Theodore Ts'o5c576471997-04-29 15:29:49 +000032print the blocks which are reserved as bad in the filesystem.
33.TP
Theodore Ts'odb197a82008-02-26 19:05:33 -050034.B \-o superblock=\fIsuperblock
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000035use the block
36.I superblock
37when examining the filesystem.
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000038This option is not usually needed except by a filesystem wizard who
Theodore Ts'o81393672005-04-16 14:05:09 -040039is examining the remains of a very badly corrupted filesystem.
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000040.TP
Theodore Ts'odb197a82008-02-26 19:05:33 -050041.B \-o blocksize=\fIblocksize
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000042use blocks of
43.I blocksize
44bytes when examining the filesystem.
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000045This option is not usually needed except by a filesystem wizard who
Theodore Ts'o81393672005-04-16 14:05:09 -040046is examining the remains of a very badly corrupted filesystem.
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000047.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000048.B \-f
Theodore Ts'o27401561999-09-14 20:11:19 +000049force 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
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000053.B \-h
Theodore Ts'o27401561999-09-14 20:11:19 +000054only display the superblock information and not any of the block
55group descriptor detail information.
56.TP
Theodore Ts'o348e43d2001-05-03 14:43:43 +000057.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
Theodore Ts'o80c22c92000-08-14 15:32:11 +000064.B \-x
65print the detailed group information block numbers in hexadecimal format
66.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000067.B \-V
Theodore Ts'o583ccdc1997-05-09 03:06:31 +000068print the version number of
69.B dumpe2fs
70and exit.
Theodore Ts'o3839e651997-04-26 13:21:57 +000071.SH BUGS
72You need to know the physical filesystem structure to understand the
73output.
74.SH AUTHOR
75.B dumpe2fs
Theodore Ts'o2e5a1b92004-01-31 20:27:36 -050076was written by Remy Card <Remy.Card@linux.org>. It is currently being
77maintained by Theodore Ts'o <tytso@alum.mit.edu>.
Theodore Ts'o3839e651997-04-26 13:21:57 +000078.SH AVAILABILITY
79.B dumpe2fs
Theodore Ts'o12da49c2001-05-12 15:49:17 +000080is part of the e2fsprogs package and is available from
Theodore Ts'o348e43d2001-05-03 14:43:43 +000081http://e2fsprogs.sourceforge.net.
Theodore Ts'o3839e651997-04-26 13:21:57 +000082.SH SEE ALSO
83.BR e2fsck (8),
84.BR mke2fs (8),
JP Abgralle0ed7402014-03-19 19:08:39 -070085.BR tune2fs (8).
86.BR ext4 (5)
Theodore Ts'o348e43d2001-05-03 14:43:43 +000087