bootsector

Crates.iobootsector
lib.rsbootsector
version0.2.0
sourcesrc
created_at2017-07-01 15:10:13.901297
updated_at2022-07-15 21:00:48.377728
descriptionRead partitions from block devices or files
homepage
repositoryhttps://github.com/FauxFaux/bootsector
max_upload_size
id21452
size12,744,250
Chris West (FauxFaux)

documentation

README

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.

Commit count: 200

cargo fmt