summaryrefslogtreecommitdiffstats
path: root/sbin/gpt/gpt.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-10-25 05:23:08 +0000
committermarcel <marcel@FreeBSD.org>2002-10-25 05:23:08 +0000
commitbd5713dabc9b7b7a6ce32f3605c651c75f4a4893 (patch)
tree7922df5334d8876d49a91600250cf4d4087ef9ad /sbin/gpt/gpt.h
parent7f6b42292aeb0d83debc6271aeaf78ca9b2caf7e (diff)
downloadFreeBSD-src-bd5713dabc9b7b7a6ce32f3605c651c75f4a4893.zip
FreeBSD-src-bd5713dabc9b7b7a6ce32f3605c651c75f4a4893.tar.gz
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.
Diffstat (limited to 'sbin/gpt/gpt.h')
-rw-r--r--sbin/gpt/gpt.h1
1 files changed, 1 insertions, 0 deletions
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 *[]);
OpenPOWER on IntegriCloud