summaryrefslogtreecommitdiff
path: root/distrib/i386/common/install.md
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2002-05-14 01:49:26 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2002-05-14 01:49:26 +0000
commitdb7cc88a2550fc7bbbe898dd12b18a979e9bd488 (patch)
tree5cfc1dc61d9d921bf1c5580d9782013175bd3a73 /distrib/i386/common/install.md
parent630b643d7c68abdb3559d346ae234ff3495bb407 (diff)
Eliminate md_native_fstype() and md_native_fsopts(). Both functions
simply echo'd a single word if present at all. Replace with variables MDFSTYPE and MDFSOPTS if required. Rework logic in install.sub's mount_a_disk() to always include 'ro' as an option to the mount command. This allows even those arch's with MDFSTYPE to usually get by without MDFSOPTS. ok deraadt@
Diffstat (limited to 'distrib/i386/common/install.md')
-rw-r--r--distrib/i386/common/install.md12
1 files changed, 3 insertions, 9 deletions
diff --git a/distrib/i386/common/install.md b/distrib/i386/common/install.md
index 0041b105d6b..8c71235a867 100644
--- a/distrib/i386/common/install.md
+++ b/distrib/i386/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.4 2002/05/09 21:54:46 krw Exp $
+# $OpenBSD: install.md,v 1.5 2002/05/14 01:49:25 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -41,6 +41,8 @@
# Machine-dependent install sets
MDSETS=kernel
+MDFSTYPE=msdos
+MDFSOPTS=-l
ARCH=ARCH
md_set_term() {
@@ -131,14 +133,6 @@ q' | ed /mnt/etc/sysctl.conf 2> /dev/null
fi
}
-md_native_fstype() {
- echo msdos
-}
-
-md_native_fsopts() {
- echo "ro,-l"
-}
-
md_checkfordisklabel() {
# $1 is the disk to check
local rval