aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/sysinstall.h
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-05-07 23:37:34 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-05-07 23:37:34 +0000
commit27e3eb523c913ca7d72739d2b825569d8f6ceada (patch)
tree593222abd07587a9e7c14c8a8b715068dcd3757b /usr.sbin/sysinstall/sysinstall.h
parent020531ce67cd8c29efad6d7bcee867322cc4bc8a (diff)
downloadsrc-27e3eb523c913ca7d72739d2b825569d8f6ceada.tar.gz
src-27e3eb523c913ca7d72739d2b825569d8f6ceada.zip
Another sync up for Poul. Added a lot more error checking.
Notes
Notes: svn path=/head/; revision=8336
Diffstat (limited to 'usr.sbin/sysinstall/sysinstall.h')
-rw-r--r--usr.sbin/sysinstall/sysinstall.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h
index ad9417db3d30..68698a1be406 100644
--- a/usr.sbin/sysinstall/sysinstall.h
+++ b/usr.sbin/sysinstall/sysinstall.h
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: sysinstall.h,v 1.9 1995/05/06 09:34:20 jkh Exp $
+ * $Id: sysinstall.h,v 1.10 1995/05/07 02:04:29 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -177,9 +177,13 @@ typedef enum {
PART_FILESYSTEM
} PartType;
+/* The longest newfs command we'll hand to system() */
+#define NEWFS_CMD_MAX 256
+
typedef struct _part_info {
Boolean newfs;
char mountpoint[FILENAME_MAX];
+ char newfs_cmd[NEWFS_CMD_MAX];
} PartInfo;