mbr 0.2.2

Parse legacy mbr partition tables with native Rust
Documentation
  • Coverage
  • 80%
    12 out of 15 items documented0 out of 3 items with examples
  • Size
  • Source code size: 3.96 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.5 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • kallisti5/mbr
    2 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kallisti5

mbr

A rust crate to read legacy MBR disk partitions

Warning: This crate is early in development and may encounter API changes as it grows. When the version hits 1.x.x the API will be stable

Example Usage

extern crate mbr; let partitions = mbr::partition::read_partitions("/dev/sda");

What about GPT partition tables?

There is a great GPT parsing library created by another author. I'm tracking their API somewhat to ensure applications parsing MBR and GPT tables generally follows the same process.

License

Copyright, 2017 Alexander von Gluck IV Released under the terms of the MIT license.