Summary: | mount_nfs(8) references non-existent -o retransmit option | ||
---|---|---|---|
Product: | Documentation | Reporter: | Jason W. Bacon <jwb> |
Component: | Manual Pages | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | bcr, doc, pauamma, rmacklem |
Priority: | --- | Keywords: | needs-patch |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://github.com/freebsd/freebsd-src/blob/f7a2eeaa75dc95f2958d2db2170744f44e14b7ea/sbin/mount_nfs/mount_nfs.8#L635-L637 |
Description
Jason W. Bacon
![]() ![]() 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. |