DiskDisks and partitions.
val make : ?sector_size:int -> Unix.file_descr -> (t, string) Stdlib.resultmake fd reads a disk from fd. The disk is assumed to start at the current file descriptor position and to have sectors of byte size sector_size.
val sector_size : t -> intsector_size d is the sector size of d.
val first_byte : t -> intfirst_byte d is the first byte of d. This is the fd position when make was called.
val fd : t -> Unix.file_descrfd is the file desciptor of fd.
lba_byte_pos ~sector_size lba is the byte position of lba. sector_size defaults to 512. disk_first_byte defaults to 0.
module Partition : sig ... endDisk partitions.