summaryrefslogtreecommitdiff
path: root/distrib/alpha/common
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2002-05-18 17:56:04 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2002-05-18 17:56:04 +0000
commit8f7044cbf127a7ac249e1b339722f078b855d609 (patch)
tree12963ebb8b8f66d825f29e7606084cdde69e11fd /distrib/alpha/common
parent21bbb8cdc8d79bafd5fd05ad8c9f0e91d021929b (diff)
Eliminate md_get_diskdevs() and md_get_cddevs() by
1) Saving one boot's worth of dmesg in /tmp/dmesg.boot 2) Using sed to scan for devices and pull out names in new get_diskdevs() and get_cddevs() in install.sub 3) Saving any md disk/cd sed patterns in MDDISKDEVS and MDCDDEVS variables.
Diffstat (limited to 'distrib/alpha/common')
-rw-r--r--distrib/alpha/common/install.md23
1 files changed, 1 insertions, 22 deletions
diff --git a/distrib/alpha/common/install.md b/distrib/alpha/common/install.md
index bc71a69b73a..269fc8474ff 100644
--- a/distrib/alpha/common/install.md
+++ b/distrib/alpha/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.8 2002/05/14 01:49:25 krw Exp $
+# $OpenBSD: install.md,v 1.9 2002/05/18 17:56:03 krw Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -46,27 +46,6 @@ ARCH=ARCH
md_set_term() {
}
-md_get_msgbuf() {
- # Only want to see one boot's worth of info
- dmesg > /tmp/msgbuf
- sed -n -f /dev/stdin /tmp/msgbuf <<- OOF
- /^OpenBSD /h
- /^OpenBSD /!H
- \${
- g
- p
- }
- OOF
-}
-
-md_get_diskdevs() {
- md_get_msgbuf | egrep -a "^[sw]d[0-9]+ " | cutword 1
-}
-
-md_get_cddevs() {
- md_get_msgbuf | egrep -a "^cd[0-9]+ " | cutword 1
-}
-
md_questions() {
:
}