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
for the same block.
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 <noxda...@gmail.com>
---
daemon/tsk.c | 89
generator/actions.ml | 9 +
NTFS file system always has the Boot file at block 0. This reliable
information helps testing the API.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tests/tsk/Makefile.am| 1 +
tests/tsk/test-find-block.sh | 66
2 files chang
.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 16
src/tsk.c| 26 ++
2 files changed, 42 insertions(+)
diff --git a/generator/actions.ml b/generator/actions.ml
index b38a30f..8947551 100644
--- a/gen
NTFS file system always has the MFT file at inode 0. This reliable
information helps testing the API.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tests/tsk/Makefile.am| 3 +-
tests/tsk/test-find-inode.sh | 66
2 files chang
.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 12
src/tsk.c| 26 ++
2 files changed, 38 insertions(+)
diff --git a/generator/actions.ml b/generator/actions.ml
index 4e6627b..91a1819 100644
--- a/generator/acti
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
Refactor logic in preparation for new APIs.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 87 ++--
1 file changed, 43 insertions(+), 44 deletions(-)
diff --git a/daemon/tsk.c b/daemon/tsk.c
index 22ca483..e
of tsk_dirent structs is serialised into XDR format
and written to a file by the appliance.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 52
generator/actions.ml | 9 +
src/MAX_PROC_NR | 2 +-
3
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 <noxda...@gmail.com>
---
daemon/tsk.c | 16 +---
generator/acti
Use a more generic name as the function will be used by other APIs.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
src/tsk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/tsk.c b/src/tsk.c
index 90177ab..cc89e31 100644
--- a/src/tsk.c
+++ b/src
.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 12
src/tsk.c| 26 ++
2 files changed, 38 insertions(+)
diff --git a/generator/actions.ml b/generator/actions.ml
index 55f4664..d5dffd7 100644
--- a/generator/acti
NTFS file system always has the MFT file at inode 0. This reliable
information helps testing the API.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tests/tsk/Makefile.am| 3 +-
tests/tsk/test-find-inode.sh | 66
2 files chang
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 <noxda...@gmail.com>
---
daemon/tsk.c | 22 +++---
gen
of tsk_dirent structs is serialised into XDR format
and written to a file by the appliance.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 52
generator/actions.ml | 9 +
src/MAX_PROC_NR | 2 +-
3
Use a more generic name as the function will be used by other APIs.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
src/tsk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/tsk.c b/src/tsk.c
index 90177ab..cc89e31 100644
--- a/src/tsk.c
+++ b/src
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
Refactor logic in preparation for new APIs.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 87 ++--
1 file changed, 43 insertions(+), 44 deletions(-)
diff --git a/daemon/tsk.c b/daemon/tsk.c
index 9884472..3
e inode is root
if (fsfile->fs_info->root_inum == fsfile->name->meta_addr)
But we want to make sure is the first root entry and not the parent directory
of other directories.
if (STREQ(fsfile->name->name, ".")
I opened up a bit the logic to make it more clear.
Matteo
.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 12
src/tsk.c| 26 ++
2 files changed, 38 insertions(+)
diff --git a/generator/actions.ml b/generator/actions.ml
index 42593b9..a52b8df 100644
--- a/generator/acti
NTFS file system always has the MFT file at inode 0. This reliable
information helps testing the API.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tests/tsk/Makefile.am| 3 +-
tests/tsk/test-find-inode.sh | 66
2 files chang
Use a more generic name as the function will be used by other APIs.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
src/tsk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/tsk.c b/src/tsk.c
index 90177ab..cc89e31 100644
--- a/src/tsk.c
+++ b/src
Refactor logic in preparation for new APIs.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 87 ++--
1 file changed, 43 insertions(+), 44 deletions(-)
diff --git a/daemon/tsk.c b/daemon/tsk.c
index 9884472..3
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 <noxda...@gmail.com>
---
daemon/tsk.c | 22 +++---
1 file chang
of tsk_dirent structs is serialised into XDR format
and written to a file by the appliance.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 52
generator/actions.ml | 9 +
src/MAX_PROC_NR | 2 +-
3
NTFS file system always has the MFT file at inode 0. This reliable
information helps testing the API.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tests/tsk/Makefile.am| 3 +-
tests/tsk/test-find-inode.sh | 66
2 files chang
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
Use a more generic name as the function will be used by other APIs.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
src/tsk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/tsk.c b/src/tsk.c
index 90177ab..cc89e31 100644
--- a/src/tsk.c
+++ b/src
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 <noxda...@gmail.com>
---
daemon/tsk.c | 19 ---
1 file chang
.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 12
src/tsk.c| 26 ++
2 files changed, 38 insertions(+)
diff --git a/generator/actions.ml b/generator/actions.ml
index 42593b9..a52b8df 100644
--- a/generator/acti
of tsk_dirent structs is serialised into XDR format
and written to a file by the appliance.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 52
generator/actions.ml | 9 +
src/MAX_PROC_NR | 2 +-
3
Refactor logic in preparation for new APIs.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 86 ++--
1 file changed, 43 insertions(+), 43 deletions(-)
diff --git a/daemon/tsk.c b/daemon/tsk.c
index 49316aa..8
of tsk_dirent structs is serialised into XDR format
and written to a file by the appliance.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 52
generator/actions.ml | 9 +
src/MAX_PROC_NR | 2 +-
3
Use a more generic name as the function will be used by other APIs.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
src/tsk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/tsk.c b/src/tsk.c
index 90177ab..cc89e31 100644
--- a/src/tsk.c
+++ b/src
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 <noxda...@gmail.com>
---
daemon/tsk.c | 17 ++---
1 file changed, 14 inse
Refactor logic in preparation for new APIs.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 89 ++--
1 file changed, 44 insertions(+), 45 deletions(-)
diff --git a/daemon/tsk.c b/daemon/tsk.c
index 6e6df6d..e
.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 12
src/tsk.c| 26 ++
2 files changed, 38 insertions(+)
diff --git a/generator/actions.ml b/generator/actions.ml
index 449443f..7e19fa0 100644
--- a/generator/acti
NTFS file system always has the MFT file at inode 0. This reliable
information helps testing the API.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tests/tsk/Makefile.am| 3 +-
tests/tsk/test-find-inode.sh | 66
2 files chang
of tsk_dirent structs is serialised into XDR format
and written to a file by the appliance.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 75
generator/actions.ml | 9 +++
src/MAX_PROC_NR | 2 +-
3
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
.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 12
src/tsk.c| 26 ++
2 files changed, 38 insertions(+)
diff --git a/generator/actions.ml b/generator/actions.ml
index 449443f..7e19fa0 100644
--- a/generator/acti
NTFS file system always has the MFT file at inode 0. This reliable
information helps testing the API.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tests/tsk/Makefile.am| 3 +-
tests/tsk/test-find-inode.sh | 66
2 files chang
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 <noxda...@gmail.com>
---
daemon/tsk.c | 9 ++---
1 file changed, 6 insertions
Small cosmetic changes.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/sleuthkit.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/daemon/sleuthkit.c b/daemon/sleuthkit.c
index ce738e3..e642731 100644
--- a/daemon/sleuthkit.c
+++ b/daemon/sleut
v2:
- Rebase on top of master
Matteo Cafasso (2):
New API: download_blocks
Added download_blocks API test
daemon/sleuthkit.c| 41 ++-
generator/actions.ml | 24
gobject/Makefile.inc | 2 ++
src/MAX_PROC_NR
is given in the function
tests.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/sleuthkit.c | 41 -
generator/actions.ml | 24
gobject/Makefile.inc | 2 ++
src/MAX_PROC_NR | 2 +-
4 files changed, 67 inse
The test shows how the function can be used to retrieve deleted data
from a disk partition.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tests/tsk/Makefile.am | 1 +
tests/tsk/test-download-blocks.sh | 58 +++
2 files chang
compression support.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 44 ---
generator/actions.ml | 39 --
generator/structs.ml | 20 +-
compression support.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 59 ++-
generator/actions.ml | 39 --
generator/structs.ml | 20 ++---
tests/ts
compression support.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/tsk.c | 39 +++
generator/actions.ml | 34 ++
generator/structs.ml | 20 ++--
3 files changed, 75 insertions(+), 18 del
(DIRENT_COMPRESSED 0x04).
Matteo Cafasso (2):
filesystem_walk: more information into tsk_dirent
filesystem_walk: update tests
daemon/tsk.c | 39 +++---
generator/actions.ml | 34 ++
generator/structs.ml
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tests/tsk/test-filesystem-walk.sh | 44 +++
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/tests/tsk/test-filesystem-walk.sh
b/tests/tsk/test-filesystem-walk.sh
index 6ee3f71..d
is given in the function
tests.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/sleuthkit.c | 41 -
generator/actions.ml | 24
gobject/Makefile.inc | 2 ++
src/MAX_PROC_NR | 2 +-
4 files changed, 67 inse
data.
Matteo Cafasso (2):
New API: download_blocks
Added download_blocks API test
daemon/sleuthkit.c| 41 ++-
generator/actions.ml | 24
gobject/Makefile.inc | 2 ++
src/MAX_PROC_NR | 2
The test shows how the function can be used to retrieve deleted data
from a disk partition.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tests/tsk/Makefile.am | 1 +
tests/tsk/test-download-blocks.sh | 58 +++
2 files chang
Already implemented entries.
tsk_inode
tsk_type
tsk_size
tsk_name
tsk_flags
Easy ones to add.
tsk_atime_sec
tsk_atime_nsec
tsk_mtime_sec
tsk_mtime_nsec
tsk_ctime_sec
tsk_ctime_nsec
tsk_blksize
tsk_blocks
Further ideas.
tsk_nlink
tsk_link_name
Signed-off-by: Matteo Cafasso <noxda...@gmail.
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
command.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 114 +
src/Makefile.am | 1 +
src/tsk.c| 128 +++
3 files changed, 243 insertions(+)
creat
The tests check whether the filesystem_walk command is able to retrieve
information regarding both existing and deleted files.
A NTFS image is used as Ext3+ filesystems deletion is more aggressive
in terms of metadata removal.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tes
.
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 <noxda...@gmail.com>
---
daemon/Makefile.am | 4 +-
daemon/tsk.c | 251 +++
is serialised into XDR format
and written to a file by the appliance.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/Makefile.am| 4 +-
daemon/tsk.c | 249 ++
docs/guestfs-building.pod | 4 +
generator/actions.ml
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
command.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 108 ++
src/Makefile.am | 1 +
src/tsk.c| 129 +++
3 files changed, 238 insertions(+)
create mode
command.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 108 ++
src/Makefile.am | 1 +
src/tsk.c| 129 +++
3 files changed, 238 insertions(+)
create mode
: bitfield containing extra information
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/structs.ml | 13 +
1 file changed, 13 insertions(+)
diff --git a/generator/structs.ml b/generator/structs.ml
index 6017ba6..3c2cc61 100644
--- a/generator/structs.ml
+++ b/gen
Ensure libtsk is available at compile time.
If not, daemon routines depending on it won't be available.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
docs/guestfs-building.pod | 4
m4/guestfs_daemon.m4 | 8
2 files changed, 12 insertions(+)
diff --git a/docs/g
for review. Code available at:
https://github.com/noxdafox/libguestfs/tree/filesystem_walk
Matteo Cafasso (5):
generator: Added tsk_dirent struct
New API: internal_filesystem_walk
configure: Added libtsk compile-time check
New API: filesystem_walk
lib: Added filesystem_walk command tests
The tests check whether the filesystem_walk command is able to retrieve
information regarding both existing and deleted files.
A NTFS image is used as Ext3+ filesystems deletion is more aggressive
in terms of metadata removal.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tes
Ensure libtsk is available at compile time.
If not, daemon routines depending on it won't be available.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
docs/guestfs-building.pod | 4
m4/guestfs_daemon.m4 | 8
2 files changed, 12 insertions(+)
diff --git a/docs/g
.
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 <noxda...@gmail.com>
---
daemon/Makefile.am | 4 +-
daemon/tsk.c | 249 +++
generator/actions.ml
command.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 108
src/Makefile.am | 1 +
src/tsk.c| 123 +++
3 files changed, 232 insertions(+)
creat
within the code so I preferred to stick to the suggestion to simply
document the values.
Patch ready for review. Code available at:
https://github.com/noxdafox/libguestfs/tree/filesystem_walk
Matteo Cafasso (5):
generator: Added tsk_dirent struct
configure: Added libtsk compile-time check
: bitfield containing extra information
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/structs.ml | 13 +
1 file changed, 13 insertions(+)
diff --git a/generator/structs.ml b/generator/structs.ml
index 6017ba6..3c2cc61 100644
--- a/generator/structs.ml
+++ b/gen
The tests check whether the filesystem_walk command is able to retrieve
information regarding both existing and deleted files.
A NTFS image is used as Ext3+ filesystems deletion is more aggressive
in terms of metadata removal.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tes
Ensure libtsk is available at compile time.
If not, daemon routines depending on it won't be available.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
docs/guestfs-building.pod | 4
m4/guestfs_daemon.m4 | 8
2 files changed, 12 insertions(+)
diff --git a/docs/g
command.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 97
src/Makefile.am | 1 +
src/tsk.c| 123 +++
3 files changed, 221 insertions(+)
create mode
The tests check whether the filesystem_walk command is able to retrieve
information regarding both existing and deleted files.
A NTFS image is used as Ext3+ filesystems deletion is more aggressive
in terms of metadata removal.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tes
: bitfield containing extra information
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/structs.ml | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/generator/structs.ml b/generator/structs.ml
index 6017ba6..4abb576 100644
--- a/generator/structs.ml
.
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 <noxda...@gmail.com>
---
daemon/Makefile.am | 4 +-
daemon/tsk.c | 226 +++
generator/actions.ml
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
Ensure libtsk is available at compile time.
If not, daemon routines depending on it won't be available.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
docs/guestfs-building.pod | 4
m4/guestfs_daemon.m4 | 8
2 files changed, 12 insertions(+)
diff --git a/docs/g
command.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 95 +++
src/Makefile.am | 1 +
src/tsk.c| 123 +++
3 files changed, 219 insertions(+)
create mode
.
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 | 229
: bitfield containing extra information
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/structs.ml | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/generator/structs.ml b/generator/structs.ml
index 6017ba6..4abb576 100644
--- a/generator/structs.ml
.
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 <noxda...@gmail.com>
---
daemon/Makefile.am | 4 +-
daemon/tsk.c | 229 +++
generator/actions.ml
The tests check whether the filesystem_walk command is able to retrieve
information regarding both existing and deleted files.
A NTFS image is used as Ext3+ filesystems deletion is more aggressive
in terms of metadata removal.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tes
generated by the
internal_filesystem_walk command.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 69 +
src/Makefile.am | 1 +
src/tsk.c| 123 +++
3 files change
The tests check that the filesystem_walk command is able to retrieve
information regarding both existing and deleted files.
A NTFS image is used as Ext3+ filesystems deletion is more aggressive
in terms of metadata removal.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tes
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
Ensure libtsk is available at compile time.
If not, daemon routines depending on it won't be available.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
m4/guestfs_daemon.m4 | 8
1 file changed, 8 insertions(+)
diff --git a/m4/guestfs_daemon.m4 b/m4/guestfs_daemon.m4
.
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 <noxda...@gmail.com>
---
daemon/Makefile.am | 4 +-
daemon/tsk.c | 233 +++
generator/actions.ml
: whether the file has been deleted
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/structs.ml | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/generator/structs.ml b/generator/structs.ml
index 6017ba6..d986fd9 100644
--- a/generator/stru
Ensure libtsk is available at compile time.
If not, daemon routines depending on it
won't be available.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
m4/guestfs_daemon.m4 | 8
1 file changed, 8 insertions(+)
diff --git a/m4/guestfs_daemon.m4 b/m4/guestfs_daemon.m4
generated by the
internal_filesystem_walk command.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/actions.ml | 69 ++
src/Makefile.am | 1 +
src/tsk.c| 162 +++
3 files changed, 232 inse
at:
https://github.com/noxdafox/libguestfs/tree/filesystem_walk
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
: whether the file has been deleted
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/structs.ml | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/generator/structs.ml b/generator/structs.ml
index 6017ba6..d986fd9 100644
--- a/generator/stru
.
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 <noxda...@gmail.com>
---
daemon/Makefile.am | 4 +-
daemon/tsk.c | 225 +++
generator/acti
The tests check that the filesystem_walk command
is able to retrieve information regarding both
existing and deleted files.
A NTFS image is used as Ext3+ filesystems deletion
is more aggressive in terms of metadata removal.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
tes
unnoticed because the dirent struct is the only
one using FChar fields. Yet it prevents any other struct
from using such fields.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
generator/python.ml | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/generator/pytho
Adhere to coding standards.
Signed-off-by: Matteo Cafasso <noxda...@gmail.com>
---
daemon/sleuthkit.c | 48 +++-
1 file changed, 27 insertions(+), 21 deletions(-)
diff --git a/daemon/sleuthkit.c b/daemon/sleuthkit.c
index 2f8c97b..1262b68
101 - 200 of 230 matches
Mail list logo