Date: Fri, 22 Jul 2005 16:17:25 -0400 From: Mark Bucciarelli <mark@gaiahost.coop> To: freebsd-questions@freebsd.org Subject: Re: preventing a dual-mount of an NFS file system Message-ID: <20050722201725.GW1660@rabbit> In-Reply-To: <20050722165829.X36717@ganymede.hub.org> References: <20050722165829.X36717@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 22, 2005 at 04:59:56PM -0300, Marc G. Fournier wrote: > > Just curious if there is an option that can be set (I've checked the man > page, and didn't find one) that would prevent a file system from being > mounted twise on the same mount point? > > For instance, I have /du defined in my /etc/fstab, and want to prevent: > > mount /du > mount /du > > from working ... the first should, but the second should fail ... replace the mount binary with a shell script?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050722201725.GW1660>