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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.6.2 The modification of subrecords<br />

This subsection looks at the modification of information stored within the cache.<br />

In order to study the causes of modification to the thumbnail cache, clones of<br />

the virtual machines from Section 5.6.1will be used. Therefore the experiments<br />

start with data within the thumbnail cache; in order to assess how this data is<br />

modified the original source files will be modified during a variety of experiments<br />

described in this sub-section.<br />

Modifying the contents of a file<br />

A randomly selected group of files on the virtual machine were altered using<br />

appropriate pre-installed software. A list of the 500 user-generated files added<br />

to the virtual machine was stored in a text file. A small program was written to<br />

randomly select 10% of the files; the names of the selected files were stored in<br />

a second text file. Each of the selected files was opened using the default<br />

editing application for that file type; image files were modified by making the<br />

images entirely black, for text based file types the information within the file was<br />

copied and pasted underneath the original data. <strong>After</strong> the files were modified<br />

they were saved and the editor closed. Once all modifications had been<br />

completed the directories containing the user generated images were then<br />

viewed using the file manager. The modification caused the last modified time<br />

of the file to be updated. Both on Ubuntu and Kubuntu, this caused the affected<br />

subrecords to be altered, to show the current state of the file; all the files<br />

showed the modified black images or repeated text in the file browser.<br />

Modifying the files URI<br />

In order to ascertain the effect of modifying the file’s URI, the virtual machine<br />

was populated with 500 user generated files which were copied off a USB stick<br />

and into the user’s documents directory. A directory named ‘test’ was created<br />

Page 87

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

Saved successfully!

Ooh no, something went wrong!