Module Name:    src
Committed By:   martin
Date:           Wed Aug  7 10:12:32 UTC 2019

Modified Files:
        src/usr.sbin/sysinst: disks.c

Log Message:
When creating the /etc/fstab for new installs, the sense of the "noauto"
flag was inverted (editor mishap?)


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.sbin/sysinst/disks.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sysinst/disks.c
diff -u src/usr.sbin/sysinst/disks.c:1.47 src/usr.sbin/sysinst/disks.c:1.48
--- src/usr.sbin/sysinst/disks.c:1.47	Wed Aug  7 10:08:04 2019
+++ src/usr.sbin/sysinst/disks.c	Wed Aug  7 10:12:32 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: disks.c,v 1.47 2019/08/07 10:08:04 martin Exp $ */
+/*	$NetBSD: disks.c,v 1.48 2019/08/07 10:12:32 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1352,7 +1352,7 @@ make_fstab(struct install_partition_desc
 		  "%s%s\t\t%s\t%s\trw%s%s%s%s%s%s%s%s\t\t %d %d\n",
 		   s, dev, mp, fstype,
 		   ptn->mountflags & PUIMNT_LOG ? ",log" : "",
-		   ptn->mountflags & PUIMNT_NOAUTO ? "" : ",noauto",
+		   ptn->mountflags & PUIMNT_NOAUTO ? ",noauto" : "",
 		   ptn->mountflags & PUIMNT_ASYNC ? ",async" : "",
 		   ptn->mountflags & PUIMNT_NOATIME ? ",noatime" : "",
 		   ptn->mountflags & PUIMNT_NODEV ? ",nodev" : "",

Reply via email to