Add a fs_dev field to filesystem
[virt-df.git] / lib / diskimage_utils.mli
index 0a46197..bc67474 100644 (file)
@@ -53,6 +53,16 @@ class offset_device : string -> int64 -> int64 -> int -> device ->
     method mapblock : int64 -> (device * int64) list
   end
 
+class blocksize_overlay : int -> device ->
+  object
+    method name : string
+    method size : int64
+    method read : int64 -> int -> string
+    method read_bitstring : int64 -> int -> Bitmatch.bitstring
+    method blocksize : int
+    method mapblock : int64 -> (device * int64) list
+  end
+
 val null_device : device
 
 type machine = {
@@ -94,6 +104,7 @@ and partition_content =
     ]
 
 and filesystem = {
+  fs_dev : device;
   fs_plugin_id : fs_plugin_id;
   fs_block_size : int64;
   fs_blocks_total : int64;