diff options
author | asomers <asomers@FreeBSD.org> | 2016-01-18 16:41:26 +0000 |
---|---|---|
committer | asomers <asomers@FreeBSD.org> | 2016-01-18 16:41:26 +0000 |
commit | 628004b7857599544a8b1f99cb2114e13254a693 (patch) | |
tree | 53da7215b59e7f6dcc704739dfeca4827f250fac /sys/vm | |
parent | 6a718e822773d7edbb4c6eb0321cad72d372e20e (diff) | |
download | FreeBSD-src-628004b7857599544a8b1f99cb2114e13254a693.zip FreeBSD-src-628004b7857599544a8b1f99cb2114e13254a693.tar.gz |
MFC r292573
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.
Diffstat (limited to 'sys/vm')
0 files changed, 0 insertions, 0 deletions