[Libguestfs] [PATCH 0/2] added filesystem_walk0 low level API

Matteo Cafasso noxdafox at gmail.com
Tue Mar 29 17:35:51 UTC 2016

The filesystem_walk0 API parses the FS internals of a partition and returns a list of all the files and directories contained within. It list deleted files and directories as well.

For each node, it reports its relative path, its inode and its allocation status.

The output is serialised in XDR format and written to the given file.

The command is similar to The Sleuth Kit "fls -rp <disk_image>" except from the fact that it does not report the node type (file or directory).

Matteo Cafasso (2):
  added filesystem_walk0 API
  added filesystem_walk0 API tests

 daemon/Makefile.am                 |   3 +-
 daemon/tsk.c                       | 186 +++++++++++++++++++++++++++++++++++++
 generator/actions.ml               |  16 ++++
 m4/guestfs_daemon.m4               |   8 ++
 src/MAX_PROC_NR                    |   2 +-
 tests/tsk/Makefile.am              |   3 +-
 tests/tsk/test-filesystem-walk0.sh |  54 +++++++++++
 7 files changed, 269 insertions(+), 3 deletions(-)
 create mode 100755 tests/tsk/test-filesystem-walk0.sh


More information about the Libguestfs mailing list