Use Linux BLKGETSIZE64 to determine the size of a block device

Without this we assume the size of the device is 0.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Regenerate OASIS

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
BLKGETSIZE64: fix up C bindings

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Update to 0.6.1

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #10 from djs55/get_file_size

Use BLKGETSIZE64 to find the size of block devices on Linux
CA-120439: Use Unix.LargeFile for 32-bit machines

Without this, calls to stat will fail for files larger than 4GB.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #11 from simonjbeaumont/ca-120439

CA-120439: Use Unix.LargeFile for 32-bit machines
Move the generation of test 'programs' into a module called Patterns

These can be used to help test any vhd implementation, not just
this one.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
... and actually add the Patterns module this time

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Move the post-test verification logic to a library

This should allow us to interpret an I/O 'program' and then
verify the results on disk look like how we expect.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Add copyright and ocamldoc

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #12 from djs55/patterns

Library-ify the pattern generation
CA-120525: Add R/W flag to openfile interface

Files should not be opened RW by default and parents of VHD files can always be
opened RO.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #13 from simonjbeaumont/ca-120525

Add R/W flag to openfile interface
Update CHANGES for 0.6.2
Update CHANGES for 0.6.3
CA-120549: Fix parent locator URL prefix

Look for just file:// instead of file://./ which doesn't work for the case of
file://../<...>

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #14 from simonjbeaumont/CA-120549

Fix parent locator URL prefix
Release 0.6.4