tweaks to metadata constructor, and some updated features.

This commit is contained in:
Joe Thornber
2013-06-19 11:34:01 +01:00
parent 172353d1a5
commit 055b237126
5 changed files with 25 additions and 13 deletions

View File

@@ -1,3 +1,7 @@
Before do
@aruba_timeout_seconds = 10
end
module ThinpWorld
def tools_version
"0.1.5+"
@@ -21,8 +25,8 @@ module ThinpWorld
File.open(path, "w+") do |f|
f.write <<EOF
<superblock uuid="" time="0" transaction="0" data_block_size="128" nr_data_blocks="1000">
<device dev_id="0" mapped_blocks="2" transaction="0" creation_time="0" snap_time="0">
<range_mapping origin_begin="0" data_begin="0" length="2" time="0"/>
<device dev_id="0" mapped_blocks="100" transaction="0" creation_time="0" snap_time="0">
<range_mapping origin_begin="25" data_begin="0" length="100" time="0"/>
</device>
</superblock>
EOF