From 5b221b3a30ed7e7d5d6282fbe283f135217ad0e3 Mon Sep 17 00:00:00 2001 From: espie <> Date: Sat, 12 Mar 2016 17:58:59 +0000 Subject: [PATCH] tweak MAKEDEV.mi to use new makedev(8) capabilities and speed it up. --- src/etc/MAKEDEV.mi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/etc/MAKEDEV.mi b/src/etc/MAKEDEV.mi index f663433d..7625c740 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.81 2012/11/05 08:07:09 jasper Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.82 2016/03/12 17:58:59 espie Exp $-})dnl dnl divert(1)dnl {-#-} @@ -171,9 +171,10 @@ RMlist[0]="rm -f" mkl() { dnl -dnl non multi mknod +dnl multi mknod dnl - mklist[{-$-}{#mklist[*]}]=";mknod -m {-$-}1 {-$-}2 {-$-}3 {-$-}4 {-$-}5" + : {-$-}{mklist[0]:=";mknod"} + mklist[{-$-}{#mklist[*]}]=" -m {-$-}1 {-$-}2 {-$-}3 {-$-}4 {-$-}5" } M() {