diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2020-02-29 07:31:35 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2020-02-29 07:31:35 +0000 |
commit | eea59c3dff8bff23980a7418adfcaec029b42d7a (patch) | |
tree | 7f81c0e560befce3741d3356be8440d6413e0a60 /distrib | |
parent | 1e4e0debcb328b804cec35cf67a6e40f62f153fb (diff) |
Next step in prepping for ffs2 installs: introduce a new install script var
MDFSOPT and add a missing prototype.
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 028a9ee9a1d..6b49a6c1287 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1147 2020/02/02 20:33:52 krw Exp $ +# $OpenBSD: install.sub,v 1.1148 2020/02/29 07:31:34 otto Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -507,7 +507,7 @@ configure_disk() { # Use machine-dependent newfs options for the root # partition if defined. - _opt= + _opt=$MDFSOPT [[ $_mp == / ]] && _opt=$MDROOTFSOPT newfs -q $_opt ${_pp##/dev/} @@ -3328,6 +3328,7 @@ umount -af >/dev/null 2>&1 # # The following variables can be provided if required: # MDEFI - set to 'y' on archs that support GPT partitioning +# MDFSOPT - newfs options for non-root partitions # MDROOTFSOPT - newfs options for the root partition # MDSETS - list of files to add to DEFAULT and ALLSETS # MDSANESETS - list of files to add to SANESETS |