#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

#1574 in Algorithms

Download history 23/week @ 2024-02-26 15/week @ 2024-03-11 27/week @ 2024-03-18

65 downloads per month
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