NFSv4 mounts are broken by either the "soft" or "intr" options.
This is noted in the BUGS section of "man mount_nfs".
However, a couple of recent PRs that were broken this way
indicates that generating a warning message for one of
these mounts is appropriate.
Details
Details
- Reviewers
emaste - Commits
- rGc0d14b0220ae: mount_nfs: Warn that intr, soft are not safe for NFSv4
Tried NFSv4 mounts with/without "soft" and "intr", to see that
the warning is generated, as required.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Please reference the PRs in the commit message. The message seems reasonable to me for now, although should we consider just disallowing soft/intr entirely for NFSv4?