From bd5713dabc9b7b7a6ce32f3605c651c75f4a4893 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 25 Oct 2002 05:23:08 +0000 Subject: Add the functionality to create an (empty) GPT from scratch. The code is directly copied from migrate.c. The intend is to express migrate in terms of create and add. The functionality to add partitions is not yet there. --- sbin/gpt/gpt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sbin/gpt/gpt.h') diff --git a/sbin/gpt/gpt.h b/sbin/gpt/gpt.h index d6d0b71..268abe1 100644 --- a/sbin/gpt/gpt.h +++ b/sbin/gpt/gpt.h @@ -62,6 +62,7 @@ void* gpt_read(int, off_t, size_t); int gpt_write(int, map_t *); void unicode16(short *, const wchar_t *, size_t); +int cmd_create(int, char *[]); int cmd_destroy(int, char *[]); int cmd_migrate(int, char *[]); int cmd_recover(int, char *[]); -- cgit v1.1