diff --git a/src/etc/MAKEDEV.mi b/src/etc/MAKEDEV.mi index 4335ec6d..312e95a5 100644 --- a/src/etc/MAKEDEV.mi +++ b/src/etc/MAKEDEV.mi @@ -1,7 +1,7 @@ define(COMM,`#')dnl include(MAKEDEV.sub)dnl dnl -vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.74 2005/10/04 07:39:37 otto Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.75 2005/10/04 18:11:10 otto Exp $-})dnl dnl divert(1)dnl {-#-} @@ -138,15 +138,13 @@ dodisk() { [ "$DEBUG" ] && set -x n=Add(Mult(${5}, ${7:-16}), ${6}) count=0 - RMlist="$RMlist {-$-}1{-$-}2? r{-$-}1{-$-}2?" [ 0$7 -ne 8 ] && l="i j k l m n o p" for d in a b c d e f g h $l do - M {-$-}1{-$-}2$d b {-$-}3 Add($n, $count) 640 - M r{-$-}1{-$-}2$d c {-$-}4 Add($n, $count) 640 + M {-$-}1{-$-}2$d b {-$-}3 Add($n, $count) 640 operaror + M r{-$-}1{-$-}2$d c {-$-}4 Add($n, $count) 640 operator let count=count+1 done - MKlist="$MKlist;chown root:operator {-$-}1{-$-}2? r{-$-}1{-$-}2?" } dnl dnl dodisk2(name, unit, blkmaj, chrmaj, unit, off[, stepping])