Skip to content

Commit d97179b

Browse files
author
david collett
committed
update gendoc.sh and a fat32 sk change
sk 2.03 has an optimisation which seems to cause some inodes not to be found in an inode walk. This reverts the behaviour (which incidentally means its slow again)
1 parent 985ac81 commit d97179b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

gendoc.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ export PYTHONPATH=`pwd`:`pwd`/libs/
44
# Add our libs dir to the LD_LIBRARY_PATH to run our hooker.
55
export LD_LIBRARY_PATH=`pwd`/libs/
66

7-
epydoc --html -o docs/ -n Flag -c default --inheritance grouped `find pyflag/ -name \*.py` `find plugins/ -name \*.py`
7+
epydoc --html -o docs/ -n Flag -c default --inheritance grouped `find src/pyflag/ -name \*.py` `find src/plugins/ -name \*.py`

src/filesystems/sleuthkit/fstools/dbtool.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ int
590590
main(int argc, char **argv)
591591
{
592592
int f_flags = FS_FLAG_NAME_ALLOC | FS_FLAG_NAME_UNALLOC | FS_FLAG_NAME_RECURSE;
593-
int i_flags = 0;
593+
int i_flags = 0; i_flags |= ~0;
594594
char ch;
595595
FS_INFO *fs;
596596
IMG_INFO *img;

src/filesystems/sleuthkit/fstools/fatfs.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -1125,8 +1125,9 @@ fatfs_inode_walk(FS_INFO * fs, INUM_T start_inum, INUM_T end_inum,
11251125
* directory then skip it. NOTE: This will miss unallocated
11261126
* entries in slack space of the file...
11271127
*/
1128-
if ((clustalloc == 1) && (isset(sect_alloc, sect) == 0))
1129-
continue;
1128+
// davec: commented out for pyflag as we miss a lot of inodes otherwise!
1129+
//if ((clustalloc == 1) && (isset(sect_alloc, sect) == 0))
1130+
// continue;
11301131

11311132
/* The final cluster may not be full */
11321133
if (lsect - sect + 1 < fatfs->csize)

0 commit comments

Comments
 (0)