package mirage-block
Block signatures and implementations for MirageOS
Install
Dune Dependency
Authors
Maintainers
Sources
mirage-block-v1.2.0.tbz
sha256=3373c4305e77e499446860ba81e1ee3c2c47fa2e1645c2c900b54c859f7a2558
md5=429022b9e477e8cd99b5906f073c59f4
doc/mirage-block/Mirage_block/index.html
Module Mirage_block
Block device signatures.
type error = Mirage_device.error
The type for IO operation errors.
val pp_error : error Fmt.t
pp_error
pretty-prints errors.
val pp_write_error : write_error Fmt.t
pp_write_error
pretty-prints errors.
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.
module type S = sig ... end
Operations on sector-addressible block devices, usually used for persistent storage.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>