25.12.2013 Views

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IDX Category_3: Fragment with 127 complete records and no file header<br />

In this case the fragment begins with 24 bytes of a record and finishes with the<br />

first 8 bytes of a record; in between these two partial records are 127 complete<br />

records which can be used to identify the potential size of the hash table that<br />

the fragment relates to. The complete records can also be used to identify the<br />

position of the fragment within the hash table by working out the relative<br />

position of the fragment for each valid hash table size. In order to establish a<br />

valid hash table size multiple records can be used to corroborate the validity of<br />

using the possible size in the formula for calculating relative positions; the<br />

formula for validating the thumbcache ID described in Chapter 6 can be used to<br />

find a list of table sizes which would be valid for the fragment. This can be<br />

achieved by finding a common table size which produces valid sequential<br />

record numbers for the fragment.<br />

IDX Category_4: Fragment with less than 127 complete records and no file<br />

header<br />

In this case the records which are in use will not reach the end of the fragment<br />

and whilst it is likely there will be at least one in use record present the fragment<br />

may be completely empty. Therefore any records present will be used in the<br />

same way as in Category_3 to determine the potential hash table size. Once<br />

this fragment has been added to the file reassembly chain, it is possible to<br />

calculate the number of in use records and check this matches what was<br />

expected.<br />

9.4.2 Thumbcache_idx file fragment reassembly<br />

In order to reassemble the index file fragments each fragment in the H1 subdirectory<br />

is evaluated; the fragments are separated into those which start with<br />

the index file signature and those which do not. In order to minimise the<br />

Page<br />

242

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!