Man page line in question: -t Same as -o retransmit=⟨value⟩ Should this read "-o timeout=(value)"?
Likely should, since -o retrans= is -x.
Rick, can you confirm/comment on this?
Don't know. You would have to find an old man page (pre-nmount) that describes what "-t" meant way back when. The code in mount_nfs.c deprecates "-t" and says that "timeout=<N>" should be used instead. However, "timeout=<N>" is almost useless now, since it refers to the initial timeout for NFS over UDP, which is almost never used any more. I'd suggest indicating "deprecated" next to "-t" and leave it at that. rick
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3ddd961db1ce8d9285e4d630bf6bfd5b99042a03 commit 3ddd961db1ce8d9285e4d630bf6bfd5b99042a03 Author: Benedict Reuschling <bcr@FreeBSD.org> AuthorDate: 2023-10-08 13:47:24 +0000 Commit: Benedict Reuschling <bcr@FreeBSD.org> CommitDate: 2023-10-08 13:57:47 +0000 mount_nfs(8): Indicate that the -t option is deprecated In mount_nfs.c the -t option is deprecated and advises to use timeout=<N> instead. However, since that refers to NFS over UDP, which is not used nowadays, mark this option as deprecated in the man page. PR: 260611 Suggested by: rmacklem sbin/mount_nfs/mount_nfs.8 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Thank you for your comments, Rick. I've committed a fix based on them. Thanks to you, jwb@, for sending this PR. I'm closing it.