diff options
author | 2015-11-05 21:04:19 +0000 | |
---|---|---|
committer | 2015-11-05 21:04:19 +0000 | |
commit | 214ad24d3634dc627d1e71b514ef344fde37f5e5 (patch) | |
tree | 61b3ec7dbaddc6099e4651d751c0adf8f1f3703a | |
parent | Use include files "header.html" and "footer.html" rather than a (diff) | |
download | wireguard-openbsd-214ad24d3634dc627d1e71b514ef344fde37f5e5.tar.xz wireguard-openbsd-214ad24d3634dc627d1e71b514ef344fde37f5e5.zip |
newfs the ext2fs partition containing the boot blocks with -O 1 when running
on the eBenton EBT700, for the PMON flavour found on these systems won't
recognize the filesystem correctly otherwise; researched and reported by
Ban Keong Yee.
-rw-r--r-- | distrib/loongson/ramdisk/install.md | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/distrib/loongson/ramdisk/install.md b/distrib/loongson/ramdisk/install.md index bcdd42f967d..ec2d1413d87 100644 --- a/distrib/loongson/ramdisk/install.md +++ b/distrib/loongson/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.19 2015/06/02 19:54:06 rpe Exp $ +# $OpenBSD: install.md,v 1.20 2015/11/05 21:04:19 miod Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -67,13 +67,20 @@ md_prep_fdisk() { ask "Use (W)hole disk$_q or (E)dit the MBR?" "$_d" case $resp in w*|W*) - if [ $(sysctl -n hw.product) = Gdium ]; then + case $(sysctl -n hw.product) in + Gdium) _s=32 _o="-O 1 -b 4096" - else + ;; + EBT700) + _s=1 + _o="-O 1" + ;; + *) _s=1 _o="" - fi + ;; + esac echo -n "Creating a ${_s}MB ext2 partition and an OpenBSD partition for rest of $_disk..." fdisk -e $_disk <<__EOT >/dev/null re |