From 52f02c0b6055165084b8910ee2146a75d44610fc Mon Sep 17 00:00:00 2001 From: todd <> Date: Thu, 21 Feb 2002 13:03:00 +0000 Subject: [PATCH] fix a few devices for ramdisks re-order a few all and ramdisk targets to *try* to get lucky and escape ksh's core's --- src/etc/MAKEDEV.mi | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/src/etc/MAKEDEV.mi b/src/etc/MAKEDEV.mi index bceb366b..c4f0d94d 100644 --- a/src/etc/MAKEDEV.mi +++ b/src/etc/MAKEDEV.mi @@ -1,6 +1,6 @@ include(MAKEDEV.sub)dnl dnl -vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.36 2002/02/19 21:05:10 todd Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.37 2002/02/21 13:03:00 todd Exp $-})dnl dnl divert(1)dnl {-#-} @@ -135,7 +135,6 @@ target(all, apm)dnl twrget(all, tth, ttyh, 0, 1)dnl target(all, ttyA, 0, 1)dnl target(all, ttyB, 0, 1, 2, 3, 4, 5)dnl -twrget(all, attyB, ttyB, 0, 1, 2, 3, 4)dnl target(all, tty0, 0, 1, 2, 3)dnl twrget(all, mac_tty0, tty0, 0, 1)dnl twrget(all, tzs, tty, a, b, c, d)dnl @@ -374,6 +373,8 @@ _mkdev(s64_czs, cua[a-z], {-u=${i#cua*} M cua$u c major_s64_czs_c Add($n, 128) 660 dialer uucp-})dnl -})dnl ifelse(MACHINE, i386, {-dnl +target(all, bktr, 0)dnl +target(all, uk, 1)dnl target(all, ses, 0)dnl target(all, ch, 0)dnl target(all, ss, 0, 1)dnl @@ -390,17 +391,18 @@ target(all, sd, 0, 1, 2, 3, 4)dnl target(all, vnd, 0, 1, 2, 3)dnl target(all, ccd, 0, 1, 2, 3)dnl target(ramd, tty0, 0, 1, 2, 3)dnl +target(ramd, wd, 0, 1, 2, 3)dnl +target(ramd, sd, 0, 1, 2, 3)dnl +target(ramd, mcd, 0)dnl twrget(ramd, wsdisp, ttyC, 0)dnl target(ramd, wt, 0)dnl target(ramd, fd, 0)dnl target(ramd, rd, 0)dnl -target(ramd, wd, 0, 1, 2, 3)dnl -target(ramd, sd, 0, 1, 2, 3)dnl target(ramd, cd, 0, 1)dnl target(ramd, st, 0, 1)dnl -target(ramd, mcd, 0)dnl -})dnl ifelse(MACHINE, alpha, {-dnl +target(all, uk, 1)dnl target(all, ses, 0)dnl target(all, ch, 0)dnl target(all, ss, 0, 1)dnl @@ -425,6 +427,8 @@ target(ramd, ttyB, 0, 1)dnl target(ramd, ttyE, 0, 1)dnl -})dnl ifelse(MACHINE, amiga, {-dnl +target(all, cuaB, 5, 6, 7, 8, 9)dnl +target(all, uk, 1)dnl target(all, ses, 0)dnl target(all, ch, 0)dnl target(all, ss, 0, 1)dnl @@ -440,6 +444,9 @@ target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl target(all, ccd, 0, 1, 2, 3)dnl +target(all, tty0, 1, 2, 3)dnl +target(all, view, 00, 01, 02, 03, 04, 05)dnl +twrget(all, attyB, ttyB, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(ramd, kbd)dnl target(ramd, pty, 0)dnl target(ramd, tty0, 0)dnl @@ -542,6 +549,7 @@ target(ramd, bpf, 0, 1)dnl target(ramd, tun, 0, 1)dnl -})dnl ifelse(MACHINE, mac68k, {-dnl +target(all, uk, 1)dnl target(all, ses, 0)dnl target(all, sd, 0, 1, 2, 3, 4)dnl target(all, vnd, 0, 1, 2, 3)dnl @@ -557,12 +565,13 @@ target(all, xy, 0, 1, 2, 3)dnl target(all, rd, 0)dnl target(all, cd, 0, 1)dnl target(all, ccd, 0, 1, 2, 3)dnl +twrget(ramd, mac_ttye, ttye, 0)dnl +target(ramd, cd, 0, 1)dnl target(ramd, sd, 0, 1, 2, 3)dnl target(ramd, st, 0, 1)dnl target(ramd, adb)dnl target(ramd, asc, 0)dnl target(ramd, grf, 0, 1)dnl -target(ramd, ttye, 0)dnl twrget(ramd, mac_tty0, tty0, 0, 1)dnl target(ramd, pty, 0)dnl -})dnl @@ -582,12 +591,12 @@ target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4)dnl target(all, vnd, 0, 1, 2, 3)dnl target(all, ccd, 0, 1, 2, 3)dnl +target(all, wd, 0, 1, 2, 3)dnl target(ramd, sd, 0, 1, 2, 3, 4)dnl target(ramd, wd, 0, 1, 2, 3, 4)dnl target(ramd, st, 0, 1)dnl target(ramd, cd, 0, 1)dnl)dnl target(ramd, rd, 0)dnl -target(ramd, ttyE, 0)dnl target(ramd, tty0, 0, 1)dnl target(ramd, pty, 0)dnl -})dnl @@ -1216,6 +1225,7 @@ dnl dnl non multi mknod dnl [ "${mklist[{-$-}1]}" ] && { +dnl [ "$DEBUG" ] && echo "mknod -m {-$-}1 {-$-}2 {-$-}3 {-$-}4 {-$-}5" mklist[{-$-}1]="${mklist[{-$-}1]};mknod -m {-$-}1 {-$-}2 {-$-}3 {-$-}4 {-$-}5" } || { mklist[{-$-}1]="mknod -m {-$-}1 {-$-}2 {-$-}3 {-$-}4 {-$-}5"