💾 A CLI tool to analyze partition tables
MPL-2.0 License
gptinfo
is a command line tool to list partition tables on a block device for UEFI systems. It can:
fdisk -l
-style table on a per-partition basis
# install cargo through rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# install crate
cargo install gptinfo
$ 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)
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.