Skip to content

Read partition tables from GPT and basic MBR

License

Notifications You must be signed in to change notification settings

oberien/bootsector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This crate can parse GPT and basic MBR partition tables.

Github CI crates.io

Documentation and Examples

https://docs.rs/bootsector

Limitations

  • MBR extended partitions are not read (although they are returned, so you could read them yourself). This should be implemented.
  • GPT backup tables are not validated, which is "kinda" required by the spec. This could be implemented, but isn't super important, unless you're doing data recovery.
  • Sector sizes apart from 512 bytes are not well tested. These devices don't seem to exist as of 2017.

MSRV

Rust 1.46 is supported, and checked by CI. Updating this is a semver bump.

About

Read partition tables from GPT and basic MBR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%