docs.rs failed to build mbrman-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
mbrman-0.5.2
mbrman
MBR Partition Management in Rust
Installation
Library:
Cargo.toml:
[]
= { = "0.1.0", = false }
Library Usage
A library that allows managing GUID partition tables.
Examples
Reading all the partitions of a disk:
let mut f = open
.expect;
let mbr = MBR read_from
.expect;
println!;
for in mbr.iter
Creating new partitions:
let mut f = open
.expect;
let mut mbr = MBR read_from
.expect;
let free_partition_number = mbr.iter.find.map
.expect;
let sectors = mbr.get_maximum_partition_size
.expect;
let starting_lba = mbr.find_optimal_place
.expect;
mbr = MBRPartitionEntry ;
Creating a new partition table with one entry that fills the entire disk:
let ss = 512;
let data = vec!;
let mut cur = new;
let mut mbr = MBR new_from
.expect;
mbr = MBRPartitionEntry ;