The find_inode API allows the User to search all the entries referring to a given inode and returns a tsk_dirent structure for each of them.
As I didn't want to change unrelated code, there is a little bit of code duplication at the moment. Plan is to refactor the logic in a dedicated set of patches. Matteo Cafasso (3): New API: internal_find_inode New API: find_inode find_inode: added API tests daemon/tsk.c | 75 ++++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 21 +++++++++++++ src/MAX_PROC_NR | 2 +- src/tsk.c | 26 +++++++++++++++ tests/tsk/Makefile.am | 3 +- tests/tsk/test-find-inode.sh | 66 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 191 insertions(+), 2 deletions(-) create mode 100755 tests/tsk/test-find-inode.sh -- 2.9.3 _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs