#partition #gpt #guid #information #os

gpt-partition-type

A Rust library for getting information about a GPT partition from its partition type GUID

1 unstable release

0.1.0 Aug 30, 2021

#1649 in Algorithms


Used in qcow-cli

MIT license

8KB
175 lines

gpt-partition-type

A Rust library for getting information about a GPT partition from its partition type GUID.

Usage:

use gpt_partition_type::{PartitionDescription, parse_guid};

assert_eq!(
    parse_guid("0FC63DAF-8483-4772-8E79-3D69D8477DE4").description().unwrap(),
    PartitionDescription {
        os: "Linux",
        type_description: "Linux filesystem data"
    }
);

No runtime deps