summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man8/debugfs.reiser4.8
blob: b5461043ec560ea387db43bf75bc49d135e298fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.\"						Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH debugfs.reiser4 8 "02 Oct, 2002" reiser4progs "reiser4progs manual"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
debugfs.reiser4 \- the program for debugging reiser4 filesystem.
.SH SYNOPSIS
.B debugfs.reiser4
[ options ] FILE
.SH DESCRIPTION
.B debugfs.reiser4
is reiser4 filesystem debug program. You can disscover the internal
reiser4 filesystem structures by using it.
.SH COMMON OPTIONS
.TP
.B -V, --version
prints program version.
.TP
.B -?, -h, --help
prints program help.
.TP
.B -y, --yes
assumes an answer 'yes' to all questions.
.TP
.B -f, --force
forces debugfs to use whole disk, not block device or mounted partition.
.TP
.B -c, --cache N
sets tree cache node number to passed value. This affects very much
behavior of libreiser4. It affects speed, tree allocation, etc.
.SH BROWSING OPTIONS
.TP
.B -k, --cat
browses passed file like standard cat and ls programs.
.SH PRINT OPTIONS
.TP
.B -t, --print-tree
prints the internal tree.
.TP
.B -b, --print-block N
prints the block associated with the passed block number.
.TP
.B -n, --print-nodes FILE
prints all nodes that the passed file lies in.
.TP
.B -i, --print-file
prints all items that the passed file consists of.
.TP
.B -s, --print-super
prints the both super blocks: master super block and format specific one.
.TP
.B -j, --print-journal
prints the journal with not yet commited transactions (if any).
.TP
.B -a, --print-alloc
prints the block allocator data.
.TP
.B -d, --print-oid
prints the oid allocator data.
.SH METADATA OPTIONS
.TP
.B -P, --pack-metadata
fetches filesystem metadata and writes them to the standard output.
.TP
.B -U, --unpack-metadata
reads filesystem metadata stream from the stdandard input and constructs 
a new filesystem based on the metadata. debugfs.reiser4 --pack-metadata <FS1> | 
debugfs.reiser4 --unpack-metadata <FS2> and then debugfs.reiser4 --pack-metadata 
<FS2> produces a stream equivalent to the first one.
.SH PLUGIN OPTIONS
.TP
.B -p, --print-profile
prints the plugin profile. This is the set of default plugins used for all
parts of a filesystem -- format, nodes, files, directories, hashes, etc. If
--override is specified, then prints modified plugins.
.TP
.B -l, --print-plugins
prints all plugins libreiser4 knows about.
.TP
.B -o, --override TYPE=PLUGIN, ...
overrides the default plugin of the type "TYPE" by the plugin "PLUGIN"
in the plugin profile.
.SH Examples:
.sp 1
debugfs.reiser4 -o nodeptr=nodeptr41,hash=rupasov_hash /dev/hda2
.RS
.SH REPORTING BUGS
Report bugs to <reiserfs-devel@vger.kernel.org>
.SH SEE ALSO
.BR measurefs.reiser4(8),
.BR mkfs.reiser4(8),
.BR fsck.reiser4(8)
.SH AUTHOR
This manual page was written by Yury Umanets <umka@namesys.com>