summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-24 22:46:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-24 22:46:33 +0000
commit8b56e74eabc5db70ca1c44b1b971d1b09fc21c4e (patch)
treee545953e5c82d70e082487570b083407298c440f
parent8bc7c44857468a86cd61e6ebb1e7c01095f2ca98 (diff)
do install using -o async mounts, faster
-rw-r--r--distrib/miniroot/install.sub6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index c7a45edfabf..0f25342a533 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sub,v 1.123 1999/05/30 08:34:51 deraadt Exp $
+# $OpenBSD: install.sub,v 1.124 1999/07/24 22:46:32 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997,1998 Todd Miller, Theo de Raadt
@@ -1459,7 +1459,7 @@ while [ "X${resp}" = X"" ]; do
;;
ffs)
_fstype="-t $resp"
- _fsopts="ro"
+ _fsopts="async,ro"
;;
$_md_fstype)
_fstype="-t $resp"
@@ -1884,7 +1884,7 @@ local _fstab=$1
# Mount the filesystem. If the mount fails, exit
# with an error condition to tell the outer
# later to bail.
- if ! mount -v -t $_fstype -o $_opt $_dev $_mp ; then
+ if ! mount -v -t $_fstype -o async -o $_opt $_dev $_mp ; then
# error message displated by mount
exit 1
fi