blob: 7ded36688c874980cf98aeadf5234675cd026d87 [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
7dumpe2fs \- dump filesystem information
8.SH SYNOPSIS
9.B dumpe2fs
Theodore Ts'o5c576471997-04-29 15:29:49 +000010[
Theodore Ts'o80c22c92000-08-14 15:32:11 +000011.B \-bfhxV
Theodore Ts'o5c576471997-04-29 15:29:49 +000012]
13[
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000014.B \-ob
15.I superblock
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000016]
17[
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000018.B \-oB
19.I blocksize
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000020]
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000021.I device
Theodore Ts'o3839e651997-04-26 13:21:57 +000022.SH DESCRIPTION
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000023.B dumpe2fs
Theodore Ts'o3839e651997-04-26 13:21:57 +000024prints the super block and blocks group information for the filesystem
25present on
26.I device.
27.PP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000028.B dumpe2fs
Theodore Ts'o3839e651997-04-26 13:21:57 +000029is similar to Berkeley's
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000030.B dumpfs
Theodore Ts'o3839e651997-04-26 13:21:57 +000031program for the BSD Fast File System.
Theodore Ts'o5c576471997-04-29 15:29:49 +000032.SH OPTIONS
33.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000034.B \-b
Theodore Ts'o5c576471997-04-29 15:29:49 +000035print the blocks which are reserved as bad in the filesystem.
36.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000037.BI \-ob " superblock"
38use the block
39.I superblock
40when examining the filesystem.
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000041This option is not usually needed except by a filesystem wizard who
42is examining the remains of a very badly corupted filesystem.
43.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000044.BI \-oB " blocksize"
45use blocks of
46.I blocksize
47bytes when examining the filesystem.
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000048This option is not usually needed except by a filesystem wizard who
49is examining the remains of a very badly corupted filesystem.
50.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000051.B \-f
Theodore Ts'o27401561999-09-14 20:11:19 +000052force dumpe2fs to display a filesystem even though it may have some
53filesystem feature flags which dumpe2fs may not understand (and which
54can cause some of dumpe2fs's display to be suspect).
55.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000056.B \-h
Theodore Ts'o27401561999-09-14 20:11:19 +000057only display the superblock information and not any of the block
58group descriptor detail information.
59.TP
Theodore Ts'o80c22c92000-08-14 15:32:11 +000060.B \-x
61print the detailed group information block numbers in hexadecimal format
62.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000063.B \-V
Theodore Ts'o583ccdc1997-05-09 03:06:31 +000064print the version number of
65.B dumpe2fs
66and exit.
Theodore Ts'o3839e651997-04-26 13:21:57 +000067.SH BUGS
68You need to know the physical filesystem structure to understand the
69output.
70.SH AUTHOR
71.B dumpe2fs
Theodore Ts'offe4cab2000-04-03 13:27:41 +000072was written by Remy Card <Remy.Card@linux.org>.
Theodore Ts'o3839e651997-04-26 13:21:57 +000073.SH AVAILABILITY
74.B dumpe2fs
Theodore Ts'oa789d841998-03-30 01:20:55 +000075is part of the e2fsprogs package and is available for anonymous
76ftp from tsx-11.mit.edu in /pub/linux/packages/ext2fs.
Theodore Ts'o3839e651997-04-26 13:21:57 +000077.SH SEE ALSO
78.BR e2fsck (8),
79.BR mke2fs (8),
80.BR tune2fs (8)