Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2017 07:08:45 +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-CUGgC70s9s@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 #4 from Andriy Gapon <avg@FreeBSD.org> ---
(In reply to Allan Jude from comment #3)
I am not sure that that policy has anything to do with OpenZFS.
Each operating system handles that in its own way.
For example, as far as I know, in illumos you can not mount any filesystem =
over
any non-empty directory.

In FreeBSD we allow mounts anywhere, including root.
And there is nothing ZFS specific about that.
I personally think that allowing to mount over / is more dangerous than use=
ful.
But people always find creative uses for every feature and misfeature, so I
think that a wider discussion about such a fundamental decision will be
required.

--=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-CUGgC70s9s>