From 58dc4d0703f40c1f7b88509f19d0a34d4da614c7 Mon Sep 17 00:00:00 2001 From: fvdl Date: Sun, 29 Apr 2001 00:22:34 +0000 Subject: [PATCH] Use the -2 option for the NFS mount. Install kernels might have NFS_V2_ONLY to save space, and we're only reading anyway. --- distrib/utils/sysinst/net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/utils/sysinst/net.c b/distrib/utils/sysinst/net.c index 45a1469d54f5..72f3ed98eb07 100644 --- a/distrib/utils/sysinst/net.c +++ b/distrib/utils/sysinst/net.c @@ -1,4 +1,4 @@ -/* $NetBSD: net.c,v 1.72 2001/04/15 11:08:51 itojun Exp $ */ +/* $NetBSD: net.c,v 1.73 2001/04/29 00:22:34 fvdl Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -777,7 +777,7 @@ again: /* Mount it */ if (run_prog(0, NULL, - "/sbin/mount -r -o -i,-r=1024 -t nfs %s:%s /mnt2", + "/sbin/mount -r -o -2,-i,-r=1024 -t nfs %s:%s /mnt2", nfs_host, nfs_dir)) { msg_display(MSG_nfsbadmount, nfs_host, nfs_dir); process_menu(MENU_nfsbadmount);