summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2010-04-03 08:53:53 +0000
committeravg <avg@FreeBSD.org>2010-04-03 08:53:53 +0000
commit5b3e4a4ae87b9d269a42ec394518307ea8148de7 (patch)
treeb6a35e533cc90af9b50076d3fd923086bc69922f /usr.sbin/pkg_install
parent91cd4478c28e9e9767d53821be2578fc94be748b (diff)
downloadFreeBSD-src-5b3e4a4ae87b9d269a42ec394518307ea8148de7.zip
FreeBSD-src-5b3e4a4ae87b9d269a42ec394518307ea8148de7.tar.gz
g_vfs_open: allow only one mount per device vnode
In other words, deny multiple read-only mounts of the same device. Shared read-only mounts should theoretically be possible, but, unfortunately, can not be implemented correctly using current buffer cache code/interface and results in an eventual system crash. Also, using nullfs seems to be a more efficient way to achieve the same goal. This gets us back to where we were before GEOM and where other BSDs are. Submitted by: pjd (idea for checking for shared mounting) Discussed with: phk, pjd Silence from: fs@, geom@ MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/pkg_install')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud