Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst When creating the /etc/fstab for new instal...



details:   https://anonhg.NetBSD.org/src/rev/8d881ee6b139
branches:  trunk
changeset: 844187:8d881ee6b139
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Aug 07 10:12:32 2019 +0000

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

diffstat:

 usr.sbin/sysinst/disks.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f9b70e77d868 -r 8d881ee6b139 usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c  Wed Aug 07 10:10:00 2019 +0000
+++ b/usr.sbin/sysinst/disks.c  Wed Aug 07 10:12:32 2019 +0000
@@ -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 @@
                  "%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" : "",



Home | Main Index | Thread Index | Old Index