]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r292573
authorasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 18 Jan 2016 16:41:26 +0000 (16:41 +0000)
committerasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 18 Jan 2016 16:41:26 +0000 (16:41 +0000)
commiteea9fd9b2e1ee80c6b98bc9ce9c186b374c6b14f
tree53da7215b59e7f6dcc704739dfeca4827f250fac
parenta88f34d0bdb441fdc50b3e86394e2939adee326e
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@294278 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/mount/mount.c