diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-05-28 22:59:36 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-05-28 22:59:36 +0000 |
commit | 79a7c00452cc72759879fb5284185ee327d6e992 (patch) | |
tree | 06f4207481b876761b93be42295698ad4739cfad /distrib/miniroot | |
parent | e6814451d6cf66f233ad47c91a77960159f3d1ee (diff) |
Add MDROOTFSOPT handling code to allow non-default newfs options to
be specified for root filesystems. Add MDROOTFSOPT value for luna88k
so installed system can boot.
Tested by Kenji Ayoma.
ok miod@.
Diffstat (limited to 'distrib/miniroot')
-rw-r--r-- | distrib/miniroot/install.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh index fb2f2bea520..e619fcd5227 100644 --- a/distrib/miniroot/install.sh +++ b/distrib/miniroot/install.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sh,v 1.142 2004/03/23 02:39:38 krw Exp $ +# $OpenBSD: install.sh,v 1.143 2004/05/28 22:59:34 krw Exp $ # $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $ # # Copyright (c) 1997-2004 Todd Miller, Theo de Raadt, Ken Westerback @@ -249,7 +249,9 @@ __EOT _i=0 unset _partitions _mount_points while read _pp _mp; do - newfs -q /dev/r$_pp + _OPT= + [[ $_mp == / ]] && _OPT=$MDROOTFSOPT + newfs -q $_OPT /dev/r$_pp _partitions[$_i]=$_pp _mount_points[$_i]=$_mp |