HomeFreeBSD

mount_nfs.c: Add an NFS mount option to set a port# for Mount

Description

mount_nfs.c: Add an NFS mount option to set a port# for Mount

Normally mount_nfs acquires the port# for the NFS server's
Mount protocol (mountd(8)) via rpcbind/portmapper for
NFSv3 mounts.

This patch adds a new mount option, so that the mount
command can specify the port# and avoid using rpcbind
for NFSv3 mounts.

The new option is called "mountport" since that is what Linux
calls their mount option for the same semantics.

PR: 282481

(cherry picked from commit 0e8a36a2ab1223ffb0cbdfd49383d8cf978cfa74)

Details

Provenance
rmacklemAuthored on Dec 11 2024, 11:07 PM
Parents
rG13ea23ee6eeb: pf: fix potential NULL dereference in SCTP multihome handling
Branches
Unknown
Tags
Unknown