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