summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2001-09-18 20:38:19 +0000
committertodd <todd@openbsd.org>2001-09-18 20:38:19 +0000
commit0cf84d521f24b33225781eae438641dc4bd0e064 (patch)
treec6ba0a9d1027008d927ab8ffe58f8408fbd960b6 /etc
parentallow a little more time for reset and match TCM5098 (from NetBSD pr's (diff)
downloadwireguard-openbsd-0cf84d521f24b33225781eae438641dc4bd0e064.tar.xz
wireguard-openbsd-0cf84d521f24b33225781eae438641dc4bd0e064.zip
as reported by jason@, sparc64 is in the stone age of 8 partitions
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.sparc64/MAKEDEV7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/etc.sparc64/MAKEDEV b/etc/etc.sparc64/MAKEDEV
index e28ca5c72e2..154b247c255 100644
--- a/etc/etc.sparc64/MAKEDEV
+++ b/etc/etc.sparc64/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.18 2001/09/07 19:26:03 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.19 2001/09/18 20:38:19 todd Exp $
#
# Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
# All rights reserved.
@@ -124,7 +124,7 @@ unt()
}
dodisk()
{
- n=$(($((${5}*16))+${6})) count=0
+ n=$(($((${5}*${7:-8}))+${6})) count=0
RMlist="$RMlist $1$2? r$1$2?"
for d in a b c d e f g h i j k l m n o p
do
@@ -136,8 +136,7 @@ dodisk()
}
dodisk2()
{
- [ "$7" ] && fac=$7 || fac=16
- n=$(($(($5*$fac))+$6))
+ n=$(($(($5*${7:-8}))+$6))
M $1$2a b $3 $n 640 operator
M r$1$2a c $4 $n 640 operator
n=$(($n+2))