Fat_entry.Chain
val follow : Fat_format.t -> fat -> int -> t
follow_chain format fat cluster
returns the list of sectors containing data according to FAT fat
which is of type format
.
val extend : Fat_boot_sector.t -> Fat_format.t -> fat -> int option -> int -> t
extend boot format fat last n
allocates n
free clusters to extend the chain whose current end is last
val to_sectors : Fat_boot_sector.t -> t -> int list
to_sectors boot t
converts the chain t
into a sequence of sectors