opnsense-src/sbin
Rick Macklem 0e8a36a2ab 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
Reviewed by:	delphij
Tested by:	Ronald Minnich <rminnich@gmail.com>
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D47743
2024-12-11 15:07:05 -08:00
..
adjkerntz adjkerntz.8: minor cleanup (markup, spdx, reflow) 2024-07-29 14:06:06 -06:00
bectl Update Makefile.depend files 2024-10-14 10:26:17 -07:00
bsdlabel Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
camcontrol camcontrol: Bump timeout to get size of drive 2024-10-28 16:43:25 -06:00
ccdconfig Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
clri Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
comcontrol manuals: Fix "unusual .Xr" warnings with a script 2024-10-15 17:18:14 -03:00
conscontrol Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
ddb Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
decryptcore Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
devd devd tests: Fix client_test 2024-11-21 18:55:13 +00:00
devfs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
devmatch devmatch: Catch truncated linker hints files 2024-10-23 22:12:45 +00:00
dhclient dhclient: Ignore vendor-identifying DHCP options defined in RFC 3925 2024-09-28 10:49:02 +02:00
dmesg Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
dump Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
dumpfs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
dumpon Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
etherswitchcfg Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
fdisk fdisk: emit deprecation notice when run 2024-10-13 13:52:14 -04:00
ffsinfo sbin/{ffsinfo,mount,newfs}: reference ffs(4) in man pages 2024-11-25 22:57:20 +01:00
fsck sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
fsck_ffs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
fsck_msdosfs fsck_msdosfs: do not call checksize() if the cluster is bad 2024-01-21 01:20:24 +02:00
fsdb sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
fsirand Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
geom Update Makefile.depend files 2024-10-14 10:26:17 -07:00
ggate manuals: Fix "skipping end of block" .Ed errors 2024-10-03 14:49:23 -03:00
growfs growfs.8: align and alphabetize options 2024-09-06 12:34:32 -06:00
gvinum gvinum: Postpone removal to FreeBSD 15 2024-11-03 16:28:16 -05:00
hastctl Remove "All Rights Reserved" from FreeBSD Foundation copyrights 2024-07-30 12:16:36 -04:00
hastd Remove "All Rights Reserved" from FreeBSD Foundation copyrights 2024-07-30 12:16:36 -04:00
ifconfig net80211: 11ac: add options to manage VHT STBC 2024-12-01 22:02:08 +00:00
init manuals: Fix "missing end of block" errors 2024-10-07 15:40:58 -03:00
ipf tcp: add TH_AE capabilities to ppp and pf 2024-11-29 10:04:31 +01:00
ipfw ipfw : Enable support for EIM NAT 2024-12-06 09:18:09 +00:00
kldconfig sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kldload Add kenv .Xr in kldload(8) and loader.conf(5) 2023-12-20 21:17:38 -07:00
kldstat sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kldunload sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ldconfig Canonicalize the name of the FreeBSD Foundation 2024-10-24 05:03:07 +08:00
md5 Update Makefile.depend files 2024-10-14 10:26:17 -07:00
mdconfig Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mdmfs Ensure that soft updates are not enabled by default when using mdmfs(8) 2024-10-03 08:06:28 -07:00
mknod Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mksnap_ffs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mount sbin/{ffsinfo,mount,newfs}: reference ffs(4) in man pages 2024-11-25 22:57:20 +01:00
mount_cd9660 mount_cd9660.8: Bump .Dd for expanding mode mask bits 2024-12-07 10:45:26 -05:00
mount_fusefs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mount_msdosfs man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
mount_nfs mount_nfs.c: Add an NFS mount option to set a port# for Mount 2024-12-11 15:07:05 -08:00
mount_nullfs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mount_udf Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mount_unionfs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
natd natd: Enable support for EIM NAT 2024-12-06 09:21:06 +00:00
newfs sbin/{ffsinfo,mount,newfs}: reference ffs(4) in man pages 2024-11-25 22:57:20 +01:00
newfs_msdos Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
nfsiod Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
nos-tun sbin/nos-tun: correct SIOCDIFADDR calls to use ifreq 2024-07-22 09:58:37 +00:00
nvmecontrol nvmecontrol: Fix minor usage typo 2024-12-06 09:14:07 -07:00
pfctl pfctl: add -T reset to touch pfras_tzero only for non-zero entries 2024-12-09 10:36:34 +01:00
pfilctl Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
pflogd Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
pflowctl Update Makefile.depend files 2024-10-14 10:26:17 -07:00
ping ping tests: Run tests unprivileged inside a vnet 2024-11-05 03:07:32 +00:00
quotacheck Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
rcorder rcorder(8): Fix grammar 2024-02-13 16:36:05 +08:00
reboot Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
recoverdisk recoverdisk: Consistently use item count as the first argument to calloc 2024-07-19 13:06:25 -04:00
resolvconf Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
restore Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
route netlink: use nitems() and roundup(2) from param.h 2024-12-03 12:04:39 -08:00
routed Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
rtsol Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
savecore savecore: Add a livedump regression test 2024-11-25 21:12:51 +00:00
setkey setkey(8): document -hwif extension 2024-08-25 17:46:09 +03:00
shutdown shutdown: fix option sorting 2024-08-09 11:21:00 -05:00
swapon Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
sysctl sysctl: Add flags to filter jail prison and vnet variables 2024-10-29 19:26:11 +08:00
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
tunefs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
umount manuals: Fix "unusual .Xr" warnings with a script 2024-10-15 17:18:14 -03:00
veriexec Add examples to veriexec(8) 2024-08-01 14:59:52 -07:00
zfsbootcfg zfsbootcfg(8), zpool_influxdb(8): move to the zfs package 2024-04-22 23:04:03 -06:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.amd64 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.arm Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.i386 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.powerpc64 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00