diff options
-rw-r--r-- | distrib/amiga/install.md | 6 | ||||
-rw-r--r-- | distrib/atari/miniroot/install.md | 4 | ||||
-rw-r--r-- | distrib/hp300/ramdisk/install.md | 6 | ||||
-rw-r--r-- | distrib/i386/floppies/ramdisk/install.md | 6 | ||||
-rw-r--r-- | distrib/mvme68k/ramdisk/install.md | 6 | ||||
-rw-r--r-- | distrib/pmax/install.md | 6 | ||||
-rw-r--r-- | distrib/powerpc/miniroot/install.md | 6 | ||||
-rw-r--r-- | distrib/sparc/install.md | 6 | ||||
-rw-r--r-- | distrib/sun3/common/install.md | 4 |
9 files changed, 43 insertions, 7 deletions
diff --git a/distrib/amiga/install.md b/distrib/amiga/install.md index 447004cc21f..b44ca5e9e50 100644 --- a/distrib/amiga/install.md +++ b/distrib/amiga/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.2 1997/05/13 16:04:06 niklas Exp $ +# $OpenBSD: install.md,v 1.3 1997/05/14 21:39:10 millert Exp $ # $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $ # # @@ -58,6 +58,10 @@ md_makerootwritable() { # This is done in .profile now } +md_machine_arch() { + cat /kern/machine +} + md_get_diskdevs() { # return available disk devices dmesg | egrep "^[sw]d[0-9] " | cut -d" " -f1 | sort -u diff --git a/distrib/atari/miniroot/install.md b/distrib/atari/miniroot/install.md index f3763387836..027a0e3dddf 100644 --- a/distrib/atari/miniroot/install.md +++ b/distrib/atari/miniroot/install.md @@ -73,6 +73,10 @@ md_makerootwritable() { fi } +md_machine_arch() { + cat /kern/machine +} + md_get_diskdevs() { # return available disk devices __mount_kernfs diff --git a/distrib/hp300/ramdisk/install.md b/distrib/hp300/ramdisk/install.md index 9d021888e8c..dbe99ad8604 100644 --- a/distrib/hp300/ramdisk/install.md +++ b/distrib/hp300/ramdisk/install.md @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: install.md,v 1.4 1997/04/21 07:32:11 downsj Exp $ +# $OpenBSD: install.md,v 1.5 1997/05/14 21:39:12 millert Exp $ # $NetBSD: install.md,v 1.1.2.4 1996/08/26 15:45:14 gwr Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -106,6 +106,10 @@ __kernfs_failed_1 > ${KERNFSMOUNTED} } +md_machine_arch() { + cat /kern/machine +} + md_get_diskdevs() { # return available disk devices egrep "^hd[0-9]*:." < /kern/msgbuf | cut -d":" -f1 | sort -u diff --git a/distrib/i386/floppies/ramdisk/install.md b/distrib/i386/floppies/ramdisk/install.md index 9de09c83ec7..2694774de58 100644 --- a/distrib/i386/floppies/ramdisk/install.md +++ b/distrib/i386/floppies/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.10 1997/05/07 06:05:58 deraadt Exp $ +# $OpenBSD: install.md,v 1.11 1997/05/14 21:39:13 millert Exp $ # # # Copyright rc) 1996 The NetBSD Foundation, Inc. @@ -56,6 +56,10 @@ md_set_term() { md_makerootwritable() { } +md_machine_arch() { + cat /kern/machine +} + md_get_diskdevs() { # return available disk devices cat /kern/msgbuf | egrep "^[sw]d[0-9] " | cut -d" " -f1 | sort -u diff --git a/distrib/mvme68k/ramdisk/install.md b/distrib/mvme68k/ramdisk/install.md index 5401c0b32cf..d793f5b397b 100644 --- a/distrib/mvme68k/ramdisk/install.md +++ b/distrib/mvme68k/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.3 1997/03/02 06:05:45 rahnds Exp $ +# $OpenBSD: install.md,v 1.4 1997/05/14 21:39:16 millert Exp $ # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. # @@ -56,6 +56,10 @@ md_set_term() { export TERM } +md_machine_arch() { + cat /kern/machine +} + md_get_diskdevs() { egrep "^sd[0-9] " < /kern/msgbuf } diff --git a/distrib/pmax/install.md b/distrib/pmax/install.md index f86f8663b46..1e91033bbb8 100644 --- a/distrib/pmax/install.md +++ b/distrib/pmax/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.2 1997/05/13 14:30:08 graichen Exp $ +# $OpenBSD: install.md,v 1.3 1997/05/14 21:39:18 millert Exp $ # $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $ # # @@ -97,6 +97,10 @@ __kernfs_failed_1 > ${KERNFSMOUNTED} } +md_machine_arch() { + cat /kern/machine +} + md_get_diskdevs() { # return available disk devices grep "^rz[0-6] " < /kern/msgbuf | cut -d" " -f1 | sort -u diff --git a/distrib/powerpc/miniroot/install.md b/distrib/powerpc/miniroot/install.md index f9e2c140425..6368f2383ec 100644 --- a/distrib/powerpc/miniroot/install.md +++ b/distrib/powerpc/miniroot/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.3 1997/02/21 17:42:07 rahnds Exp $ +# $OpenBSD: install.md,v 1.4 1997/05/14 21:39:17 millert Exp $ # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. # @@ -56,6 +56,10 @@ md_set_term() { export TERM } +md_machine_arch() { + cat /kern/machine +} + md_get_diskdevs() { egrep "^ofdisk[0-9] " < /kern/msgbuf | sed -e "s/ofdisk/sd/" } diff --git a/distrib/sparc/install.md b/distrib/sparc/install.md index 491ba67b9b3..052d919749b 100644 --- a/distrib/sparc/install.md +++ b/distrib/sparc/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.8 1997/05/01 11:30:43 niklas Exp $ +# $OpenBSD: install.md,v 1.9 1997/05/14 21:39:15 millert Exp $ # $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $ # # @@ -73,6 +73,10 @@ __mfs_failed_1 sleep 2 } +md_machine_arch() { + cat /kern/machine +} + md_get_diskdevs() { # return available disk devices dmesg | egrep "(^sd[0-9] |^x[dy][0-9] )" | cut -d" " -f1 | sort -u diff --git a/distrib/sun3/common/install.md b/distrib/sun3/common/install.md index bacf9d71ee9..8b90f6d6335 100644 --- a/distrib/sun3/common/install.md +++ b/distrib/sun3/common/install.md @@ -72,6 +72,10 @@ md_makerootwritable() { fi } +md_machine_arch() { + cat /kern/machine +} + md_get_diskdevs() { # return available disk devices __mount_kernfs |