Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst In the generated /etc/fstab, do not use the...



details:   https://anonhg.NetBSD.org/src/rev/9a3de764cfca
branches:  trunk
changeset: 319578:9a3de764cfca
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jun 03 13:18:06 2018 +0000

description:
In the generated /etc/fstab, do not use the (temporary, during sysinst)
path name for the file in the comment, but instead the one it will
have on the target system.

diffstat:

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

diffs (20 lines):

diff -r cfb3d73ca69d -r 9a3de764cfca usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c  Sun Jun 03 13:16:30 2018 +0000
+++ b/usr.sbin/sysinst/disks.c  Sun Jun 03 13:18:06 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.15 2018/06/03 13:16:30 martin Exp $ */
+/*     $NetBSD: disks.c,v 1.16 2018/06/03 13:18:06 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1039,8 +1039,8 @@
 #endif
        }
 
-       scripting_fprintf(f, "# NetBSD %s/etc/fstab\n# See /usr/share/examples/"
-                       "fstab/ for more examples.\n", target_prefix());
+       scripting_fprintf(f, "# NetBSD /etc/fstab\n# See /usr/share/examples/"
+                       "fstab/ for more examples.\n");
 
        if (pm->no_part) {
                /* single dk? target */



Home | Main Index | Thread Index | Old Index