Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Geometry : sig ... end
module Partition : sig ... end
type t = private {
bootstrap_code : string;
original_physical_drive : int;
seconds : int;
minutes : int;
hours : int;
disk_signature : int32;
partitions : Partition.t list;
}
val make : ?disk_signature:int32 -> Partition.t list -> (t, string) result
make ?disk_signature partitions
constructs an MBR given a desired list of primary partitions. An Error _
is returned if:
The optional argument disk_signature
specifies the disk signature to be written in the MBR. If disk_signature
is not provided, the default value of 0l
is used.