freebsd-nq/sbin
Alan Somers b5bbeb2117 Fix "mount -a" for NFS and ZFS filesystems with shared mountpoints
sbin/mount.c
	Check whether an fstab entry has the same fstype as a mounted
	filesystem before declaring it to be mounted. This will allow NFS
	filesystems that share a mountpoint with a local filesystem to be
	automatically mounted at boot.

	This is not such an unusual situation. For example, if somebody uses
	the standard installer with a ZFS root, he'll get a /usr/home
	filesystem, even though he may choose to mount /usr/home over NFS.

Reviewed by:	trasz
MFC after:	4 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D4556
2015-12-21 22:19:22 +00:00
..
adjkerntz Add META_MODE support. 2015-06-13 19:20:56 +00:00
atm Use more appropriate ${SHAREDIR} rather than /usr/share. 2015-10-27 23:35:02 +00:00
badsect Add META_MODE support. 2015-06-13 19:20:56 +00:00
bsdlabel It's 2015, and some people are still trying to use fdisk and then 2015-09-02 14:08:43 +00:00
camcontrol Limit RESOLUTION_MAX to INT_MAX, not UINT_MAX (all spelled out) so the 2015-10-25 04:37:00 +00:00
casperd META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
ccdconfig Add META_MODE support. 2015-06-13 19:20:56 +00:00
clri Add META_MODE support. 2015-06-13 19:20:56 +00:00
comcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
conscontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
ddb Update dependencies after r291406 added libelf to libkvm. 2015-12-01 05:18:48 +00:00
devd Increase devd's client socket buffer size to 256KB. This is not as large as 2015-12-09 18:55:25 +00:00
devfs Add META_MODE support. 2015-06-13 19:20:56 +00:00
dhclient Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
dmesg Update dependencies after r291406 added libelf to libkvm. 2015-12-01 05:18:48 +00:00
dump Add META_MODE support. 2015-06-13 19:20:56 +00:00
dumpfs The dumpfs(8) utility doesn't actually use disktab(5); remove it 2015-09-03 11:40:47 +00:00
dumpon Fix dumpon compatibility with dumpdev kenv 2015-11-23 14:06:21 +00:00
etherswitchcfg Add META_MODE support. 2015-06-13 19:20:56 +00:00
fdisk It's 2015, and some people are still trying to use fdisk and then 2015-09-02 14:08:43 +00:00
fdisk_pc98 META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
ffsinfo It's 2015, and some people are still trying to use fdisk and then 2015-09-02 14:08:43 +00:00
fsck Add META_MODE support. 2015-06-13 19:20:56 +00:00
fsck_ffs Fix a ton of speelling errors 2015-10-21 05:37:09 +00:00
fsck_msdosfs Add META_MODE support. 2015-06-13 19:20:56 +00:00
fsdb Add META_MODE support. 2015-06-13 19:20:56 +00:00
fsirand Add META_MODE support. 2015-06-13 19:20:56 +00:00
gbde Add META_MODE support. 2015-06-13 19:20:56 +00:00
geom Remove a note about damaged PMBR. Now GPT will be detected automatically 2015-12-10 10:37:12 +00:00
ggate Cleanup; mostly language with a little bit of mdoc style. 2015-07-14 14:01:33 +00:00
growfs Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
gvinum Add META_MODE support. 2015-06-13 19:20:56 +00:00
hastctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
hastd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ifconfig META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
init Fix resource leaks in error cases. 2015-11-11 23:00:57 +00:00
ipf For INTERNALLIB always add in the corresponding _DP_ and use LIBADD in 2015-12-04 03:17:17 +00:00
ipfw Implement ipfw internal olist command to list named objects. 2015-11-03 10:21:53 +00:00
iscontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
kldconfig Add META_MODE support. 2015-06-13 19:20:56 +00:00
kldload Add META_MODE support. 2015-06-13 19:20:56 +00:00
kldstat Add META_MODE support. 2015-06-13 19:20:56 +00:00
kldunload Add META_MODE support. 2015-06-13 19:20:56 +00:00
ldconfig Add META_MODE support. 2015-06-13 19:20:56 +00:00
md5 Add META_MODE support. 2015-06-13 19:20:56 +00:00
mdconfig Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
mdmfs Add META_MODE support. 2015-06-13 19:20:56 +00:00
mknod Add META_MODE support. 2015-06-13 19:20:56 +00:00
mksnap_ffs Add META_MODE support. 2015-06-13 19:20:56 +00:00
mount Fix "mount -a" for NFS and ZFS filesystems with shared mountpoints 2015-12-21 22:19:22 +00:00
mount_cd9660 Add META_MODE support. 2015-06-13 19:20:56 +00:00
mount_fusefs Add META_MODE support. 2015-06-13 19:20:56 +00:00
mount_msdosfs Add META_MODE support. 2015-06-13 19:20:56 +00:00
mount_nfs mount_nfs: Be more clear on nmount(2) error with errmsg unset 2015-07-22 22:53:40 +00:00
mount_nullfs Add META_MODE support. 2015-06-13 19:20:56 +00:00
mount_udf Add META_MODE support. 2015-06-13 19:20:56 +00:00
mount_unionfs Fix markup. 2015-09-02 14:10:09 +00:00
nandfs META MODE: Connect MK_NAND directories. 2015-12-02 05:31:01 +00:00
natd Fix a ton of speelling errors 2015-10-21 05:37:09 +00:00
newfs It's 2015, and some people are still trying to use fdisk and then 2015-09-02 14:08:43 +00:00
newfs_msdos Fix leak in mkfs_msdos(..) by initializing img to NULL and free'ing at the end 2015-12-06 21:07:33 +00:00
newfs_nandfs META MODE: Connect MK_NAND directories. 2015-12-02 05:31:01 +00:00
nfsiod Add META_MODE support. 2015-06-13 19:20:56 +00:00
nos-tun Add META_MODE support. 2015-06-13 19:20:56 +00:00
nvmecontrol nvmecontrol: read controller identify data before any log page operations 2015-07-22 16:10:29 +00:00
pfctl pfctl: Fix uninitialised veriable 2015-11-01 17:20:17 +00:00
pflogd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ping Add META_MODE support. 2015-06-13 19:20:56 +00:00
ping6 Use arc4random_buf(). While there, unifdef the code for HAVE_ARC4RANDOM. 2015-08-16 23:23:58 +00:00
quotacheck Add META_MODE support. 2015-06-13 19:20:56 +00:00
rcorder Fix a ton of speelling errors 2015-10-21 05:37:09 +00:00
reboot Add flag to disable inital reboot(8) userland sync 2015-12-15 14:17:07 +00:00
recoverdisk Add META_MODE support. 2015-06-13 19:20:56 +00:00
resolvconf Add META_MODE support. 2015-06-13 19:20:56 +00:00
restore If you backup a large file that is mostly holes, previously we'd issue 2015-11-16 01:29:58 +00:00
route Fix /sbin/route to never look up (invalid) interface names through DNS 2015-09-17 16:56:49 +00:00
routed META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
rtsol Now that we own the code, use arc4random(3) unconditionally 2015-10-06 23:42:58 +00:00
savecore Add more text to explain --libxo flag. 2015-12-01 19:18:53 +00:00
sconfig META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
setkey Add support for keys that include 4 byte SALT values, 2015-07-31 23:40:18 +00:00
shutdown Add META_MODE support. 2015-06-13 19:20:56 +00:00
spppcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
sunlabel META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
swapon Call va_end on ap when vsnprintf fails in run_cmd(..) to clean up 2015-12-09 01:24:34 +00:00
sysctl Add -t option to display field types. 2015-12-10 02:11:42 +00:00
tests Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
tunefs Add META_MODE support. 2015-06-13 19:20:56 +00:00
umount Document that a forced dismount of an NFSv3 mount when the 2015-06-17 23:24:46 +00:00
Makefile Convert to SUBDIR.yes format. 2015-11-18 17:52:38 +00:00
Makefile.amd64 Integrate nvmecontrol(8) into the amd64 and i386 builds. 2012-09-17 21:41:38 +00:00
Makefile.arm
Makefile.i386 Integrate nvmecontrol(8) into the amd64 and i386 builds. 2012-09-17 21:41:38 +00:00
Makefile.inc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.mips
Makefile.pc98
Makefile.sparc64