diff options
author | marcel <marcel@FreeBSD.org> | 2002-10-25 05:23:08 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-10-25 05:23:08 +0000 |
commit | bd5713dabc9b7b7a6ce32f3605c651c75f4a4893 (patch) | |
tree | 7922df5334d8876d49a91600250cf4d4087ef9ad /sbin/gpt/gpt.h | |
parent | 7f6b42292aeb0d83debc6271aeaf78ca9b2caf7e (diff) | |
download | FreeBSD-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.h | 1 |
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 *[]); |