gpt icon indicating copy to clipboard operation
gpt copied to clipboard

A pure rust GPT header/partition table library

Results 12 gpt issues
Sort by recently updated
recently updated
newest added

The fix which special-cases the first usable block introduced a bug when the first partition is one block long. The issue is that the values in p[0] typically represent the...

Currently the API for creating a ProtectiveMBR is somewhat unclear, or at least easy to misuse. While the documentation does explain that the input should be the _number of logical...

If the library doesn't know about a partition's UUID ahead of time, loading the partition from disk will consider give it a null UUID. Null UUIDs are "unused", and can...

The `add_partition` method takes the partition `size` in bytes as argument. It then divides this size by the block size, which effectively rounds it down to the the next lower...

**Provides:** Support to specify and read partition UUID that are not hardcoded in the library **Motivation:** I am writing a tool that needs to handle gpt in the most general...

This PR supports using a "taken" Partition (modeled after std::io::Take) to work with all the normal I/O Read operations, and allows it to work seamlessly with `std::io::copy(&mut taken_partition, write_impl)`

Add take_disk method to reclaim GptDisk's underlying device.

When copying an image via dd the gpt partition of that disk is not updated, so the backup header might not be at the right location. Which when trying to...

The current disk image included in the test fixtures has a size (in blocks) of 29. This was due to an error where the block bounds of the partition were...

Hi, I read through documentation and I was trying hard to create new partition table on /dev/loop0 to which I have previously attached file. This seems impossible. The documentation only...