gptinfo

Crates.iogptinfo
lib.rsgptinfo
version2.1.0
sourcesrc
created_at2020-12-07 06:38:34.113364
updated_at2020-12-22 06:39:34.635888
descriptionA CLI tool to analyze partition tables
homepage
repositoryhttps://github.com/safinsingh/gptinfo
max_upload_size
id320385
size126,900
Safin Singh (safinsingh)

documentation

README

gptinfo

A CLI tool to analyze partition tables


🦀 Features

gptinfo is a command line tool to list partition tables on a block device for UEFI systems. It can:

  • Display information in an fdisk -l-style table on a per-partition basis
    • Device type based on its GUID
    • Start/End LBAs and total sector count
    • Partition size

✨ In Action

📥 Installation

# install cargo through rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# install crate
cargo install gptinfo

🛠️ Usage

$ gptinfo --help
gptinfo v2.0.0

USAGE:
	gptinfo [-h/-v] <device>

FLAGS:
	-h, --help    - display this help message
	-v, --version - print the current version of `gptinfo`

ARGUMENTS:
	device        - block device to read GPT from (default: /dev/sda)

🔮 Contributing

If you feel like you can make a meaningful contribution to gptinfo, feel free to fork this repository and create a pull request! Feature requests and bugs can be filed on the issues tab.

👨‍💻 Authors

Commit count: 7

cargo fmt