blob: 848a33a18edd1a0e4af7703f3c0488557df6c378 [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'ocaf8ce41999-10-21 19:56:34 +000011.B \-bfhV
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'ocaf8ce41999-10-21 19:56:34 +000060.B \-V
Theodore Ts'o583ccdc1997-05-09 03:06:31 +000061print the version number of
62.B dumpe2fs
63and exit.
Theodore Ts'o3839e651997-04-26 13:21:57 +000064.SH BUGS
65You need to know the physical filesystem structure to understand the
66output.
67.SH AUTHOR
68.B dumpe2fs
Theodore Ts'o583ccdc1997-05-09 03:06:31 +000069was written by Remy Card <card@masi.ibp.fr>, the developer and maintainer
Theodore Ts'o3839e651997-04-26 13:21:57 +000070of the ext2 fs.
71.SH AVAILABILITY
72.B dumpe2fs
Theodore Ts'oa789d841998-03-30 01:20:55 +000073is part of the e2fsprogs package and is available for anonymous
74ftp from tsx-11.mit.edu in /pub/linux/packages/ext2fs.
Theodore Ts'o3839e651997-04-26 13:21:57 +000075.SH SEE ALSO
76.BR e2fsck (8),
77.BR mke2fs (8),
78.BR tune2fs (8)