mount diskless root with "NFSMNT_NOCONN" (which is default in "mount_nfs" trunk
authordrochner <drochner@NetBSD.org>
Wed, 07 Jul 1999 21:29:29 +0000
branchtrunk
changeset 53527 f7a3ed60a97f
parent 53526 d4b66455d824
child 53528 22e9e934bebe
mount diskless root with "NFSMNT_NOCONN" (which is default in "mount_nfs" for quite a while) to allow certain servers (multihomed, as our DEC NSE cluster) to be used as root filesystem without special tweaks
sys/nfs/nfs_boot.c
--- a/sys/nfs/nfs_boot.c	Wed Jul 07 21:24:56 1999 +0000
+++ b/sys/nfs/nfs_boot.c	Wed Jul 07 21:29:29 1999 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: nfs_boot.c,v 1.50 1999/02/21 15:07:49 drochner Exp $	*/
+/*	$NetBSD: nfs_boot.c,v 1.51 1999/07/07 21:29:29 drochner Exp $	*/
 
 /*-
  * Copyright (c) 1995, 1997 The NetBSD Foundation, Inc.
@@ -562,7 +562,7 @@
 #endif
 	args->fh       = ndm->ndm_fh;
 	args->hostname = ndm->ndm_host;
-	args->flags    = NFSMNT_RESVPORT | NFSMNT_NFSV3;
+	args->flags    = NFSMNT_NFSV3 | NFSMNT_NOCONN | NFSMNT_RESVPORT;
 
 #ifdef	NFS_BOOT_OPTIONS
 	args->flags    |= NFS_BOOT_OPTIONS;