diff options
author | 2004-05-28 22:59:34 +0000 | |
---|---|---|
committer | 2004-05-28 22:59:34 +0000 | |
commit | aff4e847cdb2f69bf00def24c8f7c2b90aea73c7 (patch) | |
tree | aab9a30df4a4695934a21e097ffb0091e59f51f5 | |
parent | cvs really sucks. (diff) | |
download | wireguard-openbsd-aff4e847cdb2f69bf00def24c8f7c2b90aea73c7.tar.xz wireguard-openbsd-aff4e847cdb2f69bf00def24c8f7c2b90aea73c7.zip |
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@.
-rw-r--r-- | distrib/luna88k/ramdisk/install.md | 3 | ||||
-rw-r--r-- | distrib/miniroot/install.sh | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/distrib/luna88k/ramdisk/install.md b/distrib/luna88k/ramdisk/install.md index 95ba94c27bb..e218800f4ca 100644 --- a/distrib/luna88k/ramdisk/install.md +++ b/distrib/luna88k/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.1 2004/04/21 18:40:21 miod Exp $ +# $OpenBSD: install.md,v 1.2 2004/05/28 22:59:35 krw Exp $ # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. # @@ -39,6 +39,7 @@ # MDTERM=vt100 +MDROOTFSOPT="-f 1024 -b 8192" ARCH=ARCH md_set_term() { 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 |