Sun Jun 3 13:18:06 2018 UTC ()
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.


(martin)
diff -r1.15 -r1.16 src/usr.sbin/sysinst/disks.c

cvs diff -r1.15 -r1.16 src/usr.sbin/sysinst/disks.c (expand / switch to context diff)
--- src/usr.sbin/sysinst/disks.c 2018/06/03 13:16:30 1.15
+++ src/usr.sbin/sysinst/disks.c 2018/06/03 13:18:06 1.16
@@ -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 */