Subject: port-i386/3454: typos in distrib/i386/floppies/upgr/upgr.sh and kc-common/copy_kernel.sh.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kmatsuda@egg.math.hokudai.ac.jp>
List: netbsd-bugs
Date: 04/07/1997 10:45:27
>Number:         3454
>Category:       port-i386
>Synopsis:       upgr.sh says "use fsck -c 2 if upgrading from NetBSD 0.9 or above"
>Confidential:   yes
>Severity:       critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr  6 18:50:01 1997
>Last-Modified:
>Originator:     Kouichi Matsuda
>Organization:
	Laboratory of Signal Processing / Section of Informatics and Processing
	Research Institute for Electronic Science / Hokkaido University
>Release:        -current supped at Apr 07 (JST), 1997
>Environment:
System: NetBSD egg.math.hokudai.ac.jp 1.2 NetBSD 1.2 (COMMON) #1: Fri Apr 4 19:44:48 JST 1997 honda@egg.math.hokudai.ac.jp:/usr/src/sys/arch/i386/compile/COMMON i386


>Description:
1)	src/distrib/i386/floppies/upgr/upgr.sh says that
	"If you are upgrading from NetBSD 0.9 or above,
						 ^^^^^
	you should upgrade your file systems with 'fsck -c 2'".

	here, NOT `above', it should be `below'.
	Upgrade user will be confused.

2)	please fix typos in distrib/i386/floppies/kc-common/copy_kernel.sh,
		DEFAULT_PARTITON -> DEFAULT_PARTITION,
	and src/distrib/i386/floppies/upgr/upgr.sh,
		partion -> partition.
>How-To-Repeat:
	see these files.
>Fix:

diff -ur src.orig/distrib/i386/floppies/kc-common/copy_kernel.sh src/distrib/i386/floppies/kc-common/copy_kernel.sh
--- src.orig/distrib/i386/floppies/kc-common/copy_kernel.sh	Tue Oct 15 00:23:54 1996
+++ src/distrib/i386/floppies/kc-common/copy_kernel.sh	Mon Apr  7 09:52:33 1997
@@ -4,7 +4,7 @@
 #
 #	Kernel copy script
 
-DEFAULT_PARTITON=sd0a
+DEFAULT_PARTITION=sd0a
 MOUNT_POINT=/mnt
 KERNEL_NAME=/netbsd
 #TEST=testfn
@@ -50,10 +50,10 @@
 echo	"What disk partition should the kernel be installed on?"
 echo	"(For example, \"sd0a\", \"wd0a\", etc.)"
 echo	""
-echo -n	"Partition? [${DEFAULT_PARTITON}] "
+echo -n	"Partition? [${DEFAULT_PARTITION}] "
 read diskpart
 if [ "X${diskpart}" = "X" ]; then
-	diskpart=${DEFAULT_PARTITON}
+	diskpart=${DEFAULT_PARTITION}
 fi
 rawdiskpart="r${diskpart}"
 
diff -ur src.orig/distrib/i386/floppies/upgr/upgrade.sh src/distrib/i386/floppies/upgr/upgrade.sh
--- src.orig/distrib/i386/floppies/upgr/upgrade.sh	Sun Oct 27 21:06:40 1996
+++ src/distrib/i386/floppies/upgr/upgrade.sh	Mon Apr  7 09:50:31 1997
@@ -102,7 +102,7 @@
 echo	"system.  If it cannot, hit Control-C at the prompt."
 echo	""
 while [ "X${drivename}" = "X" ]; do
-	echo -n	"Which disk contains your root partion? "
+	echo -n	"Which disk contains your root partition? "
 	getresp
 	otherdrives=`echo "${driveunits}" | sed -e s,${resp},,`
 	if [ "X${driveunits}" = "X${otherdrives}" ]; then
@@ -128,7 +128,7 @@
 case "$resp" in
 	n*|N*)
 		echo	""
-		echo	"If you are upgrading from NetBSD 0.9 or above,"
+		echo	"If you are upgrading from NetBSD 0.9 or below,"
 		echo	"you should upgrade your file systems with 'fsck -c 2'"
 		echo	"as soon as is feasible, because the new file system"
 		echo	"code is better-tested and more performant."
>Audit-Trail:
>Unformatted: