package mirage-block-lwt

  1. Overview
  2. Docs

Block device implementatins using lwt

module type S = Mirage_block.S with type 'a io = 'a Lwt.t and type page_aligned_buffer = Cstruct.t
module type SEEKABLE = sig ... end
module type RESIZABLE = sig ... end

Utility functions over Mirage BLOCK devices

module Compare (A : S) (B : S) : sig ... end
module Fold (A : S) : sig ... end
module Fast_fold (A : SEEKABLE) : sig ... end
module Copy (A : S) (B : S) : sig ... end
module Sparse_copy (A : SEEKABLE) (B : S) : sig ... end
module Fill (A : S) : sig ... end
module Make_safe (B : S) : sig ... end
module Mem : sig ... end

Very simple in-memory implementation of the block-device signature, using blocks of constant size (16M). Use ramdisk for a more serious implementation.