Rick Macklem notes that NFS should get MNT_RDONLY and MNT_UPDATE
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 28 Mar 1994 06:42:34 +0000 (22:42 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 28 Mar 1994 06:42:34 +0000 (22:42 -0800)
add MNT_FORCE so that MNT_UPDATE can be forced

SCCS-vsn: sbin/mount_nfs/mount_nfs.c 8.3

usr/src/sbin/mount_nfs/mount_nfs.c

index f260b45..f29331c 100644 (file)
@@ -15,7 +15,7 @@ static char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)mount_nfs.c        8.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)mount_nfs.c        8.3 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -60,16 +60,9 @@ static char sccsid[] = "@(#)mount_nfs.c      8.2 (Berkeley) %G%";
 
 #include "mntopts.h"
 
 
 #include "mntopts.h"
 
-/*
- * XXX
- * This is without question incorrect -- not sure what the right
- * values are.
- */
 struct mntopt mopts[] = {
        MOPT_STDOPTS,
 struct mntopt mopts[] = {
        MOPT_STDOPTS,
-       MOPT_ASYNC,
        MOPT_FORCE,
        MOPT_FORCE,
-       MOPT_SYNCHRONOUS,
        MOPT_UPDATE,
        { NULL }
 };
        MOPT_UPDATE,
        { NULL }
 };