summaryrefslogtreecommitdiffstats
path: root/usr.sbin/installboot/installboot.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-01-18 02:47:27 +0000
committerjsing <jsing@openbsd.org>2014-01-18 02:47:27 +0000
commit463390984eb0aed0f709cffa963f0c0c58a8ecf4 (patch)
tree09a2565bbe45d90713068dc07b72cb719d3805e1 /usr.sbin/installboot/installboot.h
parentBuild installboot on all architectures. (diff)
downloadwireguard-openbsd-463390984eb0aed0f709cffa963f0c0c58a8ecf4.tar.xz
wireguard-openbsd-463390984eb0aed0f709cffa963f0c0c58a8ecf4.zip
Add a -r flag that allows for the mount point of the root filesystem to be
specified. This is primarily for use by the installer and defaults to /.
Diffstat (limited to 'usr.sbin/installboot/installboot.h')
-rw-r--r--usr.sbin/installboot/installboot.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/installboot/installboot.h b/usr.sbin/installboot/installboot.h
index 1b0a79efe48..69967e8c754 100644
--- a/usr.sbin/installboot/installboot.h
+++ b/usr.sbin/installboot/installboot.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.h,v 1.2 2013/12/28 11:26:57 jsing Exp $ */
+/* $OpenBSD: installboot.h,v 1.3 2014/01/18 02:47:27 jsing Exp $ */
/*
* Copyright (c) 2012, 2013 Joel Sing <jsing@openbsd.org>
*
@@ -19,6 +19,7 @@ extern int nowrite;
extern int stages;
extern int verbose;
+extern char *root;
extern char *stage1;
extern char *stage2;
@@ -26,6 +27,8 @@ extern char *stage2;
void bootstrap(int, char *, char *);
#endif
+char *fileprefix(const char *, const char *);
+
void md_init(void);
void md_loadboot(void);
void md_installboot(int, char *);