Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Mirage_block end
type error = Mirage_device.error
The type for IO operation errors.
val pp_write_error : write_error Fmt.t
pp_write_error
pretty-prints errors.
type info = Mirage_block.info = {
read_write : bool;
True if we can write, false if read/only
*)sector_size : int;
Octets per sector
*)size_sectors : int64;
Total sectors per device
*)}
The type for characteristics of the block device. Note some devices may be able to make themselves bigger over time.
module type S = Mirage_block.S
Operations on sector-addressible block devices, usually used for persistent storage.