DOKK / manpages / debian 12 / reiser4progs / debugfs.reiser4.8.en
debugfs.reiser4(8) reiser4progs manual debugfs.reiser4(8)

debugfs.reiser4 - the program for debugging reiser4 filesystem.

debugfs.reiser4 [ options ] FILE

debugfs.reiser4 is reiser4 filesystem debug program. You can disscover the internal reiser4 filesystem structures by using it.

prints program version.
-?, -h, --help
prints program help.
assumes an answer 'yes' to all questions.
forces debugfs to use whole disk, not block device or mounted partition.
sets tree cache node number to passed value. This affects very much behavior of libreiser4. It affects speed, tree allocation, etc.

browses passed file like standard cat and ls programs.

prints the internal tree.
prints the block associated with the passed block number.
prints all nodes that the passed file lies in.
prints all items that the passed file consists of.
prints the both super blocks: master super block and format specific one.
prints the journal with not yet commited transactions (if any).
prints the block allocator data.
prints the oid allocator data.

fetches filesystem metadata and writes them to the standard output.
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.

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.
prints all plugins libreiser4 knows about.
overrides the default plugin of the type "TYPE" by the plugin "PLUGIN" in the plugin profile.

debugfs.reiser4 -o nodeptr=nodeptr41,hash=rupasov_hash /dev/hda2

Report bugs to <reiserfs-devel@vger.kernel.org>

measurefs.reiser4(8), mkfs.reiser4(8), fsck.reiser4(8)

This manual page was written by Yury Umanets <umka@namesys.com>

02 Oct, 2002 reiser4progs