summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall/partedit/partedit.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2013-01-20 22:25:58 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2013-01-20 22:25:58 +0000
commit23f188e63acfdb4be7d49c99f3ad5477b09f320e (patch)
tree824b79fc3544ba9f92e5e9ed0339b11570b8174e /usr.sbin/bsdinstall/partedit/partedit.h
parent16ff7601a62477a9a6e67e96a511a1c6184119d2 (diff)
downloadFreeBSD-src-23f188e63acfdb4be7d49c99f3ad5477b09f320e.zip
FreeBSD-src-23f188e63acfdb4be7d49c99f3ad5477b09f320e.tar.gz
Add a simple scripted partitioner. Documentation and more scripting support
will come soon. This lets the install process have a line like: bsdinstall scriptedpart 'ada0 GPT {1.5G freebsd-ufs /, 10G freebsd-swap, auto freebsd-ufs /usr}' to set up a system with a 1.5GB /, some swap space, and a /usr using the rest of ada0. MFC after: 1 month
Diffstat (limited to 'usr.sbin/bsdinstall/partedit/partedit.h')
-rw-r--r--usr.sbin/bsdinstall/partedit/partedit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/partedit/partedit.h b/usr.sbin/bsdinstall/partedit/partedit.h
index bffb076..136d187 100644
--- a/usr.sbin/bsdinstall/partedit/partedit.h
+++ b/usr.sbin/bsdinstall/partedit/partedit.h
@@ -55,6 +55,7 @@ struct partition_metadata *get_part_metadata(const char *name, int create);
void delete_part_metadata(const char *name);
int part_wizard(void);
+int scripted_editor(int argc, const char **argv);
/* gpart operations */
void gpart_delete(struct gprovider *pp);
OpenPOWER on IntegriCloud