From 561cf38f8477234c1be611f90d728abd51726a0c Mon Sep 17 00:00:00 2001 From: todd <> Date: Fri, 13 Jun 2008 21:07:28 +0000 Subject: [PATCH] /dev/bio on ramdisks, it is safe and small ok deraadt@, marco@ --- src/etc/etc.alpha/MAKEDEV.md | 4 ++-- src/etc/etc.amd64/MAKEDEV.md | 4 ++-- src/etc/etc.armish/MAKEDEV.md | 4 ++-- src/etc/etc.aviion/MAKEDEV.md | 3 ++- src/etc/etc.hp300/MAKEDEV.md | 4 ++-- src/etc/etc.hppa/MAKEDEV.md | 4 ++-- src/etc/etc.hppa64/MAKEDEV.md | 4 ++-- src/etc/etc.i386/MAKEDEV.md | 4 ++-- src/etc/etc.landisk/MAKEDEV.md | 4 ++-- src/etc/etc.luna88k/MAKEDEV.md | 3 ++- src/etc/etc.mac68k/MAKEDEV.md | 3 ++- src/etc/etc.macppc/MAKEDEV.md | 3 ++- src/etc/etc.mvme68k/MAKEDEV.md | 3 ++- src/etc/etc.mvme88k/MAKEDEV.md | 3 ++- src/etc/etc.mvmeppc/MAKEDEV.md | 3 ++- src/etc/etc.sgi/MAKEDEV.md | 3 ++- src/etc/etc.sparc/MAKEDEV.md | 4 ++-- src/etc/etc.sparc64/MAKEDEV.md | 4 ++-- src/etc/etc.vax/MAKEDEV.md | 4 ++-- src/etc/etc.zaurus/MAKEDEV.md | 4 ++-- 20 files changed, 40 insertions(+), 32 deletions(-) diff --git a/src/etc/etc.alpha/MAKEDEV.md b/src/etc/etc.alpha/MAKEDEV.md index 70e401c7..fd907263 100644 --- a/src/etc/etc.alpha/MAKEDEV.md +++ b/src/etc/etc.alpha/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.36 2008/06/12 20:39:28 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.37 2008/06/13 21:07:27 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -88,7 +88,7 @@ divert(__mddivert)dnl dnl ramdisk) _recurse std fd0 wd0 wd1 wd2 sd0 sd1 sd2 - _recurse st0 cd0 ttyC0 rd0 + _recurse st0 cd0 ttyC0 rd0 bio ;; _std(1, 2, 39, 3, 6) diff --git a/src/etc/etc.amd64/MAKEDEV.md b/src/etc/etc.amd64/MAKEDEV.md index 31ef17d3..26061117 100644 --- a/src/etc/etc.amd64/MAKEDEV.md +++ b/src/etc/etc.amd64/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.27 2008/06/12 22:38:14 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.28 2008/06/13 21:07:27 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -104,7 +104,7 @@ dnl divert(__mddivert)dnl dnl ramdisk) - _recurse std bpf0 fd0 wd0 sd0 tty00 tty01 rd0 + _recurse std bpf0 fd0 wd0 sd0 tty00 tty01 rd0 bio _recurse st0 cd0 ttyC0 wskbd0 wskbd1 wskbd2 ;; diff --git a/src/etc/etc.armish/MAKEDEV.md b/src/etc/etc.armish/MAKEDEV.md index bc54865f..ca587fbd 100644 --- a/src/etc/etc.armish/MAKEDEV.md +++ b/src/etc/etc.armish/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.7 2008/06/12 20:39:28 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.8 2008/06/13 21:07:27 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries @@ -92,7 +92,7 @@ divert(__mddivert)dnl dnl ramdisk) _recurse std bpf0 wd0 wd1 sd0 tty00 rd0 wsmouse - _recurse st0 ttyC0 wskbd0 apm + _recurse st0 ttyC0 wskbd0 apm bio ;; _std(1, 2, 8, 3, 6) diff --git a/src/etc/etc.aviion/MAKEDEV.md b/src/etc/etc.aviion/MAKEDEV.md index 247fb574..3be6b029 100644 --- a/src/etc/etc.aviion/MAKEDEV.md +++ b/src/etc/etc.aviion/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.4 2007/05/28 22:26:02 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.5 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -64,6 +64,7 @@ dnl ramdisk) dnl twrget(ramd, dart, tty, a)dnl target(ramd, pty, 0)dnl +target(ramd, bio)dnl _DEV(ramd) dnl _DEV(std) diff --git a/src/etc/etc.hp300/MAKEDEV.md b/src/etc/etc.hp300/MAKEDEV.md index 88248086..84651f0b 100644 --- a/src/etc/etc.hp300/MAKEDEV.md +++ b/src/etc/etc.hp300/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.31 2008/06/12 18:52:46 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.32 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -96,7 +96,7 @@ dnl ramdisk) _recurse std ct0 ct1 st0 st1 hd0 hd1 hd2 hd3 hd4 _recurse sd0 sd1 sd2 sd3 sd4 cd0 cd1 rd0 pty0 - _recurse apci0 dca0 dcm0 dcm1 + _recurse apci0 dca0 dcm0 dcm1 bio _recurse bpf0 bpf1 tun0 tun1 lkm ;; diff --git a/src/etc/etc.hppa/MAKEDEV.md b/src/etc/etc.hppa/MAKEDEV.md index 214a192d..b27db6b8 100644 --- a/src/etc/etc.hppa/MAKEDEV.md +++ b/src/etc/etc.hppa/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.32 2008/06/12 20:39:28 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.33 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -81,7 +81,7 @@ divert(__mddivert)dnl dnl ramdisk) _recurse std fd st0 st1 sd0 sd1 sd2 sd3 rd0 - _recurse pty0 bpf0 bpf1 tun0 tun1 lkm + _recurse pty0 bpf0 bpf1 tun0 tun1 lkm bio ;; _std(1, 2, 25, 3, 6) diff --git a/src/etc/etc.hppa64/MAKEDEV.md b/src/etc/etc.hppa64/MAKEDEV.md index 20bd2754..52a29c12 100644 --- a/src/etc/etc.hppa64/MAKEDEV.md +++ b/src/etc/etc.hppa64/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.9 2008/06/12 20:39:29 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.10 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -72,7 +72,7 @@ divert(__mddivert)dnl dnl ramdisk) _recurse std fd st0 st1 sd0 sd1 sd2 sd3 rd0 - _recurse pty0 bpf0 bpf1 tun0 tun1 lkm + _recurse pty0 bpf0 bpf1 tun0 tun1 lkm bio ;; _std(1, 2, 25, 3, 6) diff --git a/src/etc/etc.i386/MAKEDEV.md b/src/etc/etc.i386/MAKEDEV.md index 52f15e83..d1b02e93 100644 --- a/src/etc/etc.i386/MAKEDEV.md +++ b/src/etc/etc.i386/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.43 2008/06/12 22:38:14 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.44 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -104,7 +104,7 @@ dnl divert(__mddivert)dnl dnl ramdisk) - _recurse std bpf0 fd0 wd0 sd0 tty00 tty01 rd0 + _recurse std bpf0 fd0 wd0 sd0 tty00 tty01 rd0 bio _recurse st0 cd0 ttyC0 wskbd0 wskbd1 wskbd2 apm ;; diff --git a/src/etc/etc.landisk/MAKEDEV.md b/src/etc/etc.landisk/MAKEDEV.md index 670fe0a9..ee18bc7a 100644 --- a/src/etc/etc.landisk/MAKEDEV.md +++ b/src/etc/etc.landisk/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.9 2008/06/12 20:39:29 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.10 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries @@ -96,7 +96,7 @@ divert(__mddivert)dnl dnl ramdisk) _recurse std bpf0 wd0 wd1 sd0 tty00 rd0 wsmouse - _recurse st0 ttyC0 wskbd0 apm + _recurse st0 ttyC0 wskbd0 apm bio ;; _std(1, 2, 8, 3, 6) diff --git a/src/etc/etc.luna88k/MAKEDEV.md b/src/etc/etc.luna88k/MAKEDEV.md index 3275bcf2..1f0837f0 100644 --- a/src/etc/etc.luna88k/MAKEDEV.md +++ b/src/etc/etc.luna88k/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.7 2007/05/28 22:26:02 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.8 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -55,6 +55,7 @@ dnl ramdisk) dnl twrget(ramd, sio, tty, a)dnl target(ramd, pty, 0)dnl +target(ramd, bio)dnl _DEV(ramd) dnl _DEV(std) diff --git a/src/etc/etc.mac68k/MAKEDEV.md b/src/etc/etc.mac68k/MAKEDEV.md index bbabb32a..6c93c3c5 100644 --- a/src/etc/etc.mac68k/MAKEDEV.md +++ b/src/etc/etc.mac68k/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.25 2007/05/28 22:26:02 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.26 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -114,3 +114,4 @@ target(all, ccd, 0, 1, 2, 3)dnl target(ramd, asc, 0)dnl twrget(ramd, mac_tty0, tty0, 0, 1)dnl target(ramd, pty, 0)dnl +target(ramd, bio)dnl diff --git a/src/etc/etc.macppc/MAKEDEV.md b/src/etc/etc.macppc/MAKEDEV.md index 81071c09..b2679c0a 100644 --- a/src/etc/etc.macppc/MAKEDEV.md +++ b/src/etc/etc.macppc/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.33 2008/06/12 20:39:29 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.34 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -131,3 +131,4 @@ target(all, bthub, 0, 1, 2)dnl target(ramd, ttya, 0, 1)dnl target(ramd, ttyb, 0, 1)dnl target(ramd, pty, 0)dnl +target(ramd, bio)dnl diff --git a/src/etc/etc.mvme68k/MAKEDEV.md b/src/etc/etc.mvme68k/MAKEDEV.md index 30fb6e16..e56dcd6d 100644 --- a/src/etc/etc.mvme68k/MAKEDEV.md +++ b/src/etc/etc.mvme68k/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.19 2007/05/28 22:26:02 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.20 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -118,6 +118,7 @@ dnl ramdisk) dnl twrget(ramd, mvme_tzs, tty, a)dnl target(ramd, pty, 0)dnl +target(ramd, bio)dnl _DEV(ramd) dnl _DEV(std) diff --git a/src/etc/etc.mvme88k/MAKEDEV.md b/src/etc/etc.mvme88k/MAKEDEV.md index 24558755..de94b5a8 100644 --- a/src/etc/etc.mvme88k/MAKEDEV.md +++ b/src/etc/etc.mvme88k/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.19 2007/05/28 22:26:02 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.20 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -93,6 +93,7 @@ dnl twrget(ramd, dart, tty, a)dnl twrget(ramd, cl, tty0, 0)dnl target(ramd, pty, 0)dnl +target(ramd, bio)dnl _DEV(ramd) dnl _DEV(std) diff --git a/src/etc/etc.mvmeppc/MAKEDEV.md b/src/etc/etc.mvmeppc/MAKEDEV.md index 2b56e34d..04c6924d 100644 --- a/src/etc/etc.mvmeppc/MAKEDEV.md +++ b/src/etc/etc.mvmeppc/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.25 2007/05/28 22:26:02 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.26 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -517,3 +517,4 @@ 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 twrget(ramd, wsdisp, ttyC, 0)dnl +target(ramd, bio)dnl diff --git a/src/etc/etc.sgi/MAKEDEV.md b/src/etc/etc.sgi/MAKEDEV.md index 539b7287..d621de8b 100644 --- a/src/etc/etc.sgi/MAKEDEV.md +++ b/src/etc/etc.sgi/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.16 2008/06/12 20:39:29 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.17 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -94,3 +94,4 @@ 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, pty, 0)dnl +target(ramd, bio)dnl diff --git a/src/etc/etc.sparc/MAKEDEV.md b/src/etc/etc.sparc/MAKEDEV.md index c457cfb2..f3e4023c 100644 --- a/src/etc/etc.sparc/MAKEDEV.md +++ b/src/etc/etc.sparc/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.35 2008/06/12 18:52:46 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.36 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -109,7 +109,7 @@ dnl divert(__mddivert)dnl dnl ramdisk) - _recurse std bpf0 + _recurse std bpf0 bio _recurse fd0 sd0 sd1 sd2 rd0 cd0 ;; diff --git a/src/etc/etc.sparc64/MAKEDEV.md b/src/etc/etc.sparc64/MAKEDEV.md index bfb1fde4..f801fe41 100644 --- a/src/etc/etc.sparc64/MAKEDEV.md +++ b/src/etc/etc.sparc64/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.46 2008/06/12 20:39:29 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.47 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -116,7 +116,7 @@ divert(__mddivert)dnl dnl ramdisk) _recurse std fd0 wd0 wd1 wd2 sd0 sd1 sd2 rd0 - _recurse st0 cd0 bpf0 + _recurse st0 cd0 bpf0 bio ;; _std(2, 3, 76, 7, 16) diff --git a/src/etc/etc.vax/MAKEDEV.md b/src/etc/etc.vax/MAKEDEV.md index 9d609c7b..1e7e68be 100644 --- a/src/etc/etc.vax/MAKEDEV.md +++ b/src/etc/etc.vax/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.32 2008/06/12 18:52:46 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.33 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -143,7 +143,7 @@ dnl divert(__mddivert)dnl dnl ramdisk) - _recurse std bpf0 + _recurse std bpf0 bio _recurse fd0 sd0 sd1 rd0 ;; diff --git a/src/etc/etc.zaurus/MAKEDEV.md b/src/etc/etc.zaurus/MAKEDEV.md index 1569f1b6..f26d4263 100644 --- a/src/etc/etc.zaurus/MAKEDEV.md +++ b/src/etc/etc.zaurus/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.14 2008/06/12 20:39:29 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.15 2008/06/13 21:07:28 todd Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries @@ -90,7 +90,7 @@ divert(__mddivert)dnl dnl ramdisk) _recurse std bpf0 wd0 wd1 sd0 tty00 rd0 wsmouse - _recurse st0 ttyC0 wskbd0 apm + _recurse st0 ttyC0 wskbd0 apm bio ;; _std(1, 2, 8, 3, 6)