[Libguestfs] [PATCH v8 1/3] New API: internal_filesystem_walk
Pino Toscano
ptoscano at redhat.com
Wed Jun 15 07:56:49 UTC 2016
On Monday 13 June 2016 19:50:52 Matteo Cafasso wrote:
> - generator: Added tsk_dirent struct
>
> The tsk_dirent struct contains the information gathered via TSK APIs.
>
> The struct contains the following fields:
> * tsk_inode: inode of a file
> * tsk_type: type of file such as for dirwalk command
> * tsk_size: file size in bytes
> * tsk_name: path relative to its disk partition
> * tsk_flags: bitfield containing extra information
>
> - configure: Added libtsk compile-time check
>
> Ensure libtsk is available at compile time.
> If not, daemon routines depending on it won't be available.
>
> - API: internal_filesystem_walk
>
> The internal_filesystem_walk command walks through the FS structures
> of a disk partition and returns all the files or directories
> which could be found.
>
> The command is able to retrieve information regarding deleted
> or unaccessible files where other commands such as stat or find
> would fail.
>
> The gathered list of tsk_dirent structs is serialised into XDR format
> and written to a file by the appliance.
>
> Signed-off-by: Matteo Cafasso <noxdafox at gmail.com>
> ---
Note that a new struct adds new content to the following files:
gobject/Makefile.inc
java/Makefile.inc
java/com/redhat/et/libguestfs/.gitignore
These changes should be part of this patch too (no need to resend the
series just because of that for now, though).
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160615/6ee6cb7d/attachment.sig>
More information about the Libguestfs
mailing list