/lsgpt

Dump GPT information. Learning project for Go.

Primary LanguageGoMIT LicenseMIT

About

Dumps GPT (Guid Partition Table) information on EFI systems. This project has no other purpose that for me to learn Go.

See Wikipedia/GPT for information about the GPT structure.

Install

$ go get github.com/suspectpart/lsgpt

Run

$ sudo $GOPATH/bin/lsgpt /dev/sdx

Replace /dev/sdx with the drive that contains your GPT.

Test

$ go test ./gpt/