HomeFreeBSD

MFC r292573

Description

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.

Details

Provenance
asomersAuthored on
Parents
rS294277: Move RTAS PCI-specific interpretation of the "reg" property of the PCI host
Branches
Unknown
Tags
Unknown