mbox series

[0/2] xfs_db: add minimal directory navigation

Message ID 160375514873.880118.10145241423813965771.stgit@magnolia (mailing list archive)
Headers show
Series xfs_db: add minimal directory navigation | expand

Message

Darrick J. Wong Oct. 26, 2020, 11:32 p.m. UTC
Hi all,

Improve the usability of xfs_db by enabling users to navigate to inodes
by path and to list the contents of directories.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=xfs_db-directory-navigation

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=xfs_db-directory-navigation
---
 db/Makefile              |    2 
 db/command.c             |    1 
 db/command.h             |    1 
 db/namei.c               |  608 ++++++++++++++++++++++++++++++++++++++++++++++
 libxfs/libxfs_api_defs.h |    1 
 man/man8/xfs_db.8        |   18 +
 6 files changed, 630 insertions(+), 1 deletion(-)
 create mode 100644 db/namei.c