CVS commit: src/distrib/miniroot

2024-05-10 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat May 11 06:31:59 UTC 2024

Modified Files:
src/distrib/miniroot: install.sub

Log Message:
s/timestemps/timestamps/ in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/distrib/miniroot/install.sub

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

Modified files:

Index: src/distrib/miniroot/install.sub
diff -u src/distrib/miniroot/install.sub:1.65 src/distrib/miniroot/install.sub:1.66
--- src/distrib/miniroot/install.sub:1.65	Sat Jul 29 15:46:45 2023
+++ src/distrib/miniroot/install.sub	Sat May 11 06:31:59 2024
@@ -1,5 +1,5 @@
 #!/bin/sh
-#	$NetBSD: install.sub,v 1.65 2023/07/29 15:46:45 tsutsui Exp $
+#	$NetBSD: install.sub,v 1.66 2024/05/11 06:31:59 andvar Exp $
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1613,12 +1613,12 @@ mi_mount_kernfs() {
 }
 
 mi_filter_msgbuf() {
-	# Remove timestemps, sort.
+	# Remove timestamps, sort.
 	sed -e 's/^\[[0-9. ]*\] //' < /kern/msgbuf | sort -u
 }
 
 mi_filter_dmesg() {
-	# Remove timestemps, sort.
+	# Remove timestamps, sort.
 	dmesg | awk '{ h=$0; gsub("^[[0-9. ]*] ", "", h); print h; }' \
 	| sort -u
 }



CVS commit: src/distrib/miniroot

2024-05-10 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat May 11 06:31:59 UTC 2024

Modified Files:
src/distrib/miniroot: install.sub

Log Message:
s/timestemps/timestamps/ in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/distrib/miniroot/install.sub

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



CVS commit: src/distrib/miniroot

2023-07-29 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jul 29 15:46:45 UTC 2023

Modified Files:
src/distrib/miniroot: install.sub

Log Message:
No need to ask whether to use the TCP option on NFS mount.

TCP mount has been default since NetBSD 9.0.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/distrib/miniroot/install.sub

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

Modified files:

Index: src/distrib/miniroot/install.sub
diff -u src/distrib/miniroot/install.sub:1.64 src/distrib/miniroot/install.sub:1.65
--- src/distrib/miniroot/install.sub:1.64	Fri Dec 30 09:08:47 2022
+++ src/distrib/miniroot/install.sub	Sat Jul 29 15:46:45 2023
@@ -1,5 +1,5 @@
 #!/bin/sh
-#	$NetBSD: install.sub,v 1.64 2022/12/30 09:08:47 andvar Exp $
+#	$NetBSD: install.sub,v 1.65 2023/07/29 15:46:45 tsutsui Exp $
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1163,28 +1163,17 @@ install_nfs() {
 	done
 	_nfs_server_path=$resp
 
-	# Determine use of TCP
-	echo -n "Use TCP transport (only works with capable NFS server)? [n] "
+	# Check mount_nfs(8) options
+	echo "Use small NFS transfers (needed when server or client"
+	echo -n "has a slow network card)? [n] "
 	getresp "n"
 	case "$resp" in
 		y*|Y*)
-			_nfs_tcp="-T"
+			_nfs_tcp="-r 1024 -w 1024"
 			;;
 
 		*)
-			echo -n "Use small NFS transfers (needed when server "
-			echo "or client"
-			echo -n "has a slow network card)? [n] "
-			getresp "n"
-			case "$resp" in
-			y*|Y*)
-_nfs_tcp="-r 1024 -w 1024"
-;;
-
-			*)
-_nfs_tcp=""
-;;
-			esac
+			_nfs_tcp=""
 			;;
 	esac
 



CVS commit: src/distrib/miniroot

2023-07-29 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jul 29 15:46:45 UTC 2023

Modified Files:
src/distrib/miniroot: install.sub

Log Message:
No need to ask whether to use the TCP option on NFS mount.

TCP mount has been default since NetBSD 9.0.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/distrib/miniroot/install.sub

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



CVS commit: src/distrib/miniroot

2022-03-13 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Mar 13 14:20:24 UTC 2022

Modified Files:
src/distrib/miniroot: install.sub

Log Message:
fix few typos in comments and output message.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/distrib/miniroot/install.sub

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

Modified files:

Index: src/distrib/miniroot/install.sub
diff -u src/distrib/miniroot/install.sub:1.62 src/distrib/miniroot/install.sub:1.63
--- src/distrib/miniroot/install.sub:1.62	Sat Jun 19 00:54:27 2021
+++ src/distrib/miniroot/install.sub	Sun Mar 13 14:20:24 2022
@@ -1,5 +1,5 @@
 #!/bin/sh
-#	$NetBSD: install.sub,v 1.62 2021/06/19 00:54:27 tsutsui Exp $
+#	$NetBSD: install.sub,v 1.63 2022/03/13 14:20:24 andvar Exp $
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1298,7 +1298,7 @@ get_timezone() {
 
 	#
 	# If the zoneinfo is not on the installation medium or on the
-	# installed filesystem, set TZ to GMT and return immediatly.
+	# installed filesystem, set TZ to GMT and return immediately.
 	#
 	if [ ! -e /usr/share/zoneinfo ] && [ ! -e /mnt/usr/share/zoneinfo ]; then
 		TZ=GMT
@@ -1517,7 +1517,7 @@ mount_fs()
 		# with an error condition to tell the outer
 		# later to bail.
 		if ! mount -v -t $_fstype -o async -o $_opt $_dev $_mp ; then
-			# error message displated by mount
+			# error message displayed by mount
 			exit 1
 		fi
 	done ) < $_fstab
@@ -1570,7 +1570,7 @@ unmount_fs()
 			_devs="$1 ${_devs}"
 			_mps="$2 ${_mps}"
 		done
-		echo -n "Umounting filesystems... "
+		echo -n "Unmounting filesystems... "
 		for _mp in ${_mps}; do
 			echo -n "${_mp} "
 			umount ${_mp}



CVS commit: src/distrib/miniroot

2022-03-13 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Mar 13 14:20:24 UTC 2022

Modified Files:
src/distrib/miniroot: install.sub

Log Message:
fix few typos in comments and output message.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/distrib/miniroot/install.sub

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



CVS commit: src/distrib/miniroot

2010-01-01 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jan  2 06:37:28 UTC 2010

Modified Files:
src/distrib/miniroot: list

Log Message:
Remove -ledit and -lmagic from LIBS.

No program requires -ledit in crunched SMALLPROG case, and
miniroot doesn't have /usr/bin/file which requires -lmagic.
(sparc had it but it was removed in distrib/sparc/miniroot/list rev 1.29)


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/distrib/miniroot/list

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