commit | 4a2093129f226b4b2b4684f2aebe2f4368f85fac | [log] [tgz] |
---|---|---|
author | Bill Richardson <wfrichar@chromium.org> | Fri Jul 02 11:34:38 2010 -0700 |
committer | Bill Richardson <wfrichar@chromium.org> | Fri Jul 02 11:34:38 2010 -0700 |
tree | d5e921c19b89cc5dfac01380351b616531fe14d8 | |
parent | 5e9c0b94b1a10ceffb5e01de78210efd5dcfe581 [diff] [blame] |
Add 'find' command to cgpt, to search for partitions by UUID. Review URL: http://codereview.chromium.org/2849040
diff --git a/cgpt/cgpt.c b/cgpt/cgpt.c index d80bffe..d8604b1 100644 --- a/cgpt/cgpt.c +++ b/cgpt/cgpt.c
@@ -26,6 +26,7 @@ {"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"}, };