[Bug 221064] zfs should not be able to shadow mount on root directory from userspace

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 13 23:12:37 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221064

--- Comment #11 from Allan Jude <allanjude at FreeBSD.org> ---
(In reply to Ed Maste from comment #10)
Maybe we could create a new mount option, noshadow, and make 'zfs mount -a' and
maybe even regular 'mount -a' use it by default, but manual mounts would not.

When noshadow is specified, only mount if the target mountpoint is an empty
directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list