#mbr #partition #table #bios #legacy

mbr

Parse legacy mbr partition tables with native Rust

4 releases

Uses old Rust 2015

0.2.2 Jul 25, 2017
0.2.1 Jul 25, 2017
0.2.0 Jul 25, 2017
0.1.0 Jul 21, 2017

#2 in #mbr

23 downloads per month

MIT license

4KB
72 lines

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.

No runtime deps