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