summaryrefslogtreecommitdiff
path: root/cgpt/cgpt.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2010-07-02 11:34:38 -0700
committerBill Richardson <wfrichar@chromium.org>2010-07-02 11:34:38 -0700
commit4a2093129f226b4b2b4684f2aebe2f4368f85fac (patch)
treed5e921c19b89cc5dfac01380351b616531fe14d8 /cgpt/cgpt.c
parent5e9c0b94b1a10ceffb5e01de78210efd5dcfe581 (diff)
downloadvboot-4a2093129f226b4b2b4684f2aebe2f4368f85fac.tar.gz
Add 'find' command to cgpt, to search for partitions by UUID.
Review URL: http://codereview.chromium.org/2849040
Diffstat (limited to 'cgpt/cgpt.c')
-rw-r--r--cgpt/cgpt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgpt/cgpt.c b/cgpt/cgpt.c
index d80bffea..d8604b1f 100644
--- a/cgpt/cgpt.c
+++ b/cgpt/cgpt.c
@@ -26,6 +26,7 @@ struct {
{"show", cmd_show, "Show partition table and entries"},
{"repair", cmd_repair, "Repair damaged GPT headers and tables"},
{"boot", cmd_boot, "Edit the PMBR sector for legacy BIOSes"},
+ {"find", cmd_find, "Locate a partition by its GUID"},
};