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