summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/options.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-08-05 19:50:26 +0000
committerphk <phk@FreeBSD.org>1999-08-05 19:50:26 +0000
commit7117f963c2a530493ce54c93224bf845685c7adc (patch)
treebb1bef4aaf5698473b941ebe71eaaa11105ce532 /release/sysinstall/options.c
parent3999d507696f72f37395b8794667806e95369608 (diff)
downloadFreeBSD-src-7117f963c2a530493ce54c93224bf845685c7adc.zip
FreeBSD-src-7117f963c2a530493ce54c93224bf845685c7adc.tar.gz
Make the newfs parameters a global option.
The default is still "-b 8192 -f 1024" but my experiments show that "-b 16384 -f 4096 -c 100" is a more sensible value for modern disksizes.
Diffstat (limited to 'release/sysinstall/options.c')
-rw-r--r--release/sysinstall/options.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/sysinstall/options.c b/release/sysinstall/options.c
index f8f7de9..ac314ce 100644
--- a/release/sysinstall/options.c
+++ b/release/sysinstall/options.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: options.c,v 1.60 1999/05/07 11:02:57 jkh Exp $
+ * $Id: options.c,v 1.61 1999/07/16 11:13:09 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -94,6 +94,7 @@ mediaCheck(Option opt)
}
#define TAPE_PROMPT "Please enter the tape block size in 512 byte blocks:"
+#define NEWFS_PROMPT "Please enter newfs(8) parameters:"
#define RELNAME_PROMPT "Please specify the release you wish to load or\n\"none\" for a generic release install:"
#define BPKG_PROMPT "Please specify the name of the HTML browser package:"
#define BBIN_PROMPT "Please specify a full pathname to the HTML browser binary:"
@@ -137,6 +138,8 @@ static Option Options[] = {
OPT_IS_VAR, TIMEOUT_PROMPT, VAR_MEDIA_TIMEOUT, varCheck },
{ "Package Temp", "The directory where package temporary files should go",
OPT_IS_VAR, PKG_PROMPT, VAR_PKG_TMPDIR, varCheck },
+{ "Newfs Args", "Default parameters for newfs(8)",
+ OPT_IS_VAR, NEWFS_PROMPT, VAR_NEWFS_ARGS, varCheck },
{ "Config save", "Whether or not to save installation kernel config changes",
OPT_IS_VAR, NULL, VAR_KGET, varCheck },
{ "Re-scan Devices", "Re-run sysinstall's initial device probe",
OpenPOWER on IntegriCloud