Displaying 20 results from an estimated 1000 matches similar to: "[PATCH 0/2] added filesystem_walk0 low level API"
2016 Mar 29
0
[PATCH 1/2] added filesystem_walk0 API
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
---
daemon/Makefile.am | 3 +-
daemon/tsk.c | 186 +++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 16 +++++
m4/guestfs_daemon.m4 | 8 +++
src/MAX_PROC_NR | 2 +-
5 files changed, 213 insertions(+), 2 deletions(-)
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 4e2051b..036def9
2016 Apr 03
7
[PATCH v2 0/5] Added filesystem_walk command
v2:
- Increased the amount of collected information from the FS content.
- Moved filesystem_walk0 as internal command.
- Code improvement based on comments.
- Adhere to project's coding style.
- Better command documentation.
- More robust tests.
Patch ready for review, code available at:
https://github.com/noxdafox/libguestfs/tree/filesystem_walk
Matteo Cafasso (5):
generator:
2016 Apr 05
10
[PATCH v3 0/5] Added filesystem_walk command
v3:
- File size will be reported as - 1 if it cannot be retrieved.
- Code improvements based on comments.
Matteo Cafasso (5):
generator: Added tsk_dirent struct
configure: Added libtsk compile-time check
daemon: Added internal_filesystem_walk command
appliance: Added filesystem_walk command
appliance: Added filesystem_walk command tests
daemon/Makefile.am | 4 +-
2016 Mar 29
3
[PATCH 0/2] added filesystem_walk API
The filesystem_walk 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.
This is the end user API for inspecting a disk partition content.
The command can handle filenames with special characters.
Example
2016 Apr 04
2
Re: [PATCH v2 3/5] daemon: Added internal_filesystem_walk command
On Sunday 03 April 2016 16:30:48 Matteo Cafasso wrote:
> The internal_filesystem_walk command walks
> through the FS structure 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 as well
> where other commands such as stat or find
> would fail.
2016 Apr 04
2
Re: [PATCH v2 3/5] daemon: Added internal_filesystem_walk command
On Monday 04 April 2016 14:58:35 NoxDaFox wrote:
> > > +
> > > +static int open_filesystem (const char *device,
> > > + TSK_IMG_INFO **img, TSK_FS_INFO **fs);
> > > +static TSK_WALK_RET_ENUM fswalk_callback (TSK_FS_FILE *fsfile,
> > > + const char *path, void *data);
> >
> >
2016 Aug 25
10
[PATCH v2 0/6] New API: find_inode
v2:
- refactor logic to reduce code duplication
- better functions naming
Matteo Cafasso (6):
filesystem_walk: fixed root inode listing
daemon: refactor tsk code
lib: rename tsk internal function
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c | 156 ++++++++++++++++++++++++++++++-------------
generator/actions.ml
2016 Sep 15
9
[PATCH v5 0/6] New API - find_inode
v5:
- small doc fix: filesystem_walk claimed '.' and '..' entries were
not reported but Root is now reported as '.'
- bump to 1.35.6
Matteo Cafasso (6):
filesystem_walk: fixed root inode listing
daemon: refactor tsk code
lib: rename tsk internal function
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c
2016 Apr 06
5
[PATCH v4 0/5] New API: filesystem_walk
v4:
- Changed tsk_allocated struct field into tsk_flags.
- Added optional dependency in documentation.
- Use asprintf and perror instead of asprintf_nowarn and fprintf.
- Ensure CLEANUP_FREE vars are initialised.
- Reworked the function documentation.
- Improved tests robustness.
Matteo Cafasso (5):
generator: Added tsk_dirent struct
configure: Added libtsk compile-time check
2016 Aug 26
6
[PATCH v4 0/6] New API: find_inode
v4:
- refactor entry_is_dot
My apologies for the duplicated submission but I did not read the next e-mail.
The tsk_fs_dir_walk API will list all the entries including '.' and '..'
in a similar manner as for 'ls -a'.
This means our callback will be called for the following entries:
. <-- the Root entry
etc/.
etc/.. <-- again the Root entry
etc/systemd/.
2016 Sep 16
7
[PATCH v6 0/6] New API - find_inode
This series should be ready for merge
v6:
- rebase on master
- changes according to last comments
Matteo Cafasso (6):
filesystem_walk: fixed root inode listing
daemon: refactor tsk code
lib: rename tsk internal function
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c | 155 ++++++++++++++++++++++++++++++-------------
2016 Aug 26
6
[PATCH v3 0/6] New API: find_inode
v3:
- coding style fixes
- comment entry_is_dot logic
Matteo Cafasso (6):
filesystem_walk: fixed root inode listing
daemon: refactor tsk code
lib: rename tsk internal function
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c | 157 ++++++++++++++++++++++++++++++-------------
generator/actions.ml | 21 ++++++
2016 May 02
5
[PATCH v6 0/5] New API: filesystem_walk
v6:
- added metadata reallocation flag in tsk_flags
Certain filesystems separate file name structures and metadata ones.
Therefore, deleted entries with file name structures in an
unallocated state might point to metadata structures which have been
reallocated to new files. A flag set to 1 is generally an indication
that the information gathered from the metadata structure (file
2016 Jun 12
6
[PATCH v7 0/5] New API: filesystem_walk
v7:
- iterate over output file instead of reading it into memory
Instead of reading the whole output file in memory and iterating over
the resulting buffer, use XDR primitives to directly iterate over
the file itself.
This should reduce the API memory consumption.
Patch ready for review. Code available at:
https://github.com/noxdafox/libguestfs/tree/filesystem_walk
Matteo Cafasso
2016 Apr 11
5
[PATCH v5 0/5] New API: filesystem_walk
v5:
- fixed compile-time warning
- removed unused flag enumeration
- new version 1.33.19
Patch ready for review.
Matteo Cafasso (5):
generator: Added tsk_dirent struct
configure: Added libtsk compile-time check
New API: internal_filesystem_walk
New API: filesystem_walk
lib: Added filesystem_walk command tests
daemon/Makefile.am | 4 +-
daemon/tsk.c
2016 Jun 15
4
[PATCH v9 0/3] New API: filesystem_walk
v9:
- add missing files: java/Makefile.inc,
java/com/redhat/et/libguestfs/.gitignore,
gobject/Makefile.inc
- reserve space in tsk_dirent struct for future usage
- use int instead of bool_t type
- improve API documentation
Matteo Cafasso (3):
New API: internal_filesystem_walk
New API: filesystem_walk
lib: Added filesystem_walk command tests
daemon/Makefile.am
2016 Jun 13
7
[PATCH v8 0/3] New API: filesystem_walk
v8:
- rebase on master
- bump version to 1.33.37
- squash commits 1, 2, 3
Kept original commits messages when squashing them.
Matteo Cafasso (3):
New API: internal_filesystem_walk
New API: filesystem_walk
lib: Added filesystem_walk command tests
daemon/Makefile.am | 4 +-
daemon/tsk.c | 249 ++++++++++++++++++++++++++++++++++++++
2016 Aug 26
2
Re: [PATCH v2 1/6] filesystem_walk: fixed root inode listing
On Thursday, 25 August 2016 23:53:51 CEST Matteo Cafasso wrote:
> With the current implementation, the root inode of the given partition
> is ignored.
>
> The root inode is now reported. Its name will be a single dot '.'
> reproducing the TSK API.
>
> Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
> ---
> daemon/tsk.c | 17 ++++++++++++++---
> 1
2016 Aug 26
1
Re: [PATCH v2 1/6] filesystem_walk: fixed root inode listing
On Friday, 26 August 2016 15:15:17 CEST noxdafox wrote:
> On 26/08/16 14:15, Pino Toscano wrote:
> > On Thursday, 25 August 2016 23:53:51 CEST Matteo Cafasso wrote:
> >> With the current implementation, the root inode of the given partition
> >> is ignored.
> >>
> >> The root inode is now reported. Its name will be a single dot '.'
> >>
2016 Jul 04
1
[PATCH] filesystem_walk: more information into tsk_dirent
Access, modification, last status change and creation time in
Unix format as for statns.
Number of links pointing to a given entry.
If the entry is a symbolic link, report the its target path.
A new flag (DIRENT_COMPRESSED 0x04) indicating whether the file is
compressed using native filesystem compression support.
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
---
daemon/tsk.c