This series is ready for review but requires the previous one to be merged 
first:
https://www.redhat.com/archives/libguestfs/2016-September/msg00101.html

The find_block API allows the User to search all the filesystem entries
referring to a given data block and returns a tsk_dirent structure
for each of them.

Use case examples:

 - Check whether a block containing a deleted file has been re-used to store a 
new one.
 - Map a certain area of a disk with the contained files.

Matteo Cafasso (4):
  New API: internal_find_block
  New API: find_block
  find_block: added API tests
  TSK: small refactoring

 daemon/tsk.c                 | 89 ++++++++++++++++++++++++++++++++++++++++++++
 generator/actions.ml         | 25 +++++++++++++
 src/MAX_PROC_NR              |  2 +-
 src/tsk.c                    | 65 +++++++++++++++++++-------------
 tests/tsk/Makefile.am        |  1 +
 tests/tsk/test-find-block.sh | 66 ++++++++++++++++++++++++++++++++
 6 files changed, 221 insertions(+), 27 deletions(-)
 create mode 100755 tests/tsk/test-find-block.sh

--
2.9.3

_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to