]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: dump metadata btrees via 'btdump'
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 2 May 2017 16:12:57 +0000 (11:12 -0500)
committerEric Sandeen <sandeen@redhat.com>
Tue, 2 May 2017 16:12:57 +0000 (11:12 -0500)
commit21f0bffe6f1e44894330ab6875c4c67db3a15c97
tree43e48fd0b99f1b15e72515e82637ccffbf8fcfdf
parent58615a7a8851275887815c635560d1f0c57edcf7
xfs_db: dump metadata btrees via 'btdump'

Introduce a new 'btdump' command that can print the contents of all
blocks of any metadata subtree in the filesystem.  This enables
developers and forensic analyst to view a metadata structure without
having to navigate the btree manually.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/Makefile
db/btdump.c [new file with mode: 0644]
db/command.c
db/command.h
man/man8/xfs_db.8