Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/nfs mount diskless root with "NFSMNT_NOCONN" (which is d...



details:   https://anonhg.NetBSD.org/src/rev/66aafa4967b4
branches:  trunk
changeset: 474465:66aafa4967b4
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Jul 07 21:29:29 1999 +0000

description:
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

diffstat:

 sys/nfs/nfs_boot.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d3b82b4a5081 -r 66aafa4967b4 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;



Home | Main Index | Thread Index | Old Index