Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2017 23:12:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 221064] zfs should not be able to shadow mount on root directory from userspace
Message-ID:  <bug-221064-3630-h1qDCNbV8k@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221064-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221064-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221064

--- Comment #11 from Allan Jude <allanjude@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 no=
t.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221064-3630-h1qDCNbV8k>