#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

#1631 in Algorithms

Download history 15/week @ 2024-02-21 8/week @ 2024-02-28 2/week @ 2024-03-06 16/week @ 2024-03-13 30/week @ 2024-03-20 13/week @ 2024-03-27 16/week @ 2024-04-03

60 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