diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-05-18 17:56:04 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-05-18 17:56:04 +0000 |
commit | 8f7044cbf127a7ac249e1b339722f078b855d609 (patch) | |
tree | 12963ebb8b8f66d825f29e7606084cdde69e11fd /distrib/macppc/ramdisk/install.md | |
parent | 21bbb8cdc8d79bafd5fd05ad8c9f0e91d021929b (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/macppc/ramdisk/install.md')
-rw-r--r-- | distrib/macppc/ramdisk/install.md | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/distrib/macppc/ramdisk/install.md b/distrib/macppc/ramdisk/install.md index c7f58de0eca..f09e01c0d4d 100644 --- a/distrib/macppc/ramdisk/install.md +++ b/distrib/macppc/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.12 2002/05/14 01:49:25 krw Exp $ +# $OpenBSD: install.md,v 1.13 2002/05/18 17:56:03 krw Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -47,16 +47,6 @@ ARCH=ARCH md_set_term() { } -md_get_diskdevs() { - # return available disk devices - bsort `dmesg | egrep -a "^[sw]d[0-9]+ " | cutword 1` -} - -md_get_cddevs() { - # return available CDROM devices - bsort `dmesg | egrep -a "^cd[0-9]+ " | cutword 1` -} - md_questions() { echo ask "Do you expect to run the X Window System?" y |