package mirage-block
Module Mirage_blockSource
Block device signatures.
The type for IO operation errors.
pp_write_error pretty-prints errors.
Source
type 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.