From owner-freebsd-questions@FreeBSD.ORG Fri Jul 22 20:17:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00FBA16A41F for ; Fri, 22 Jul 2005 20:17:26 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6D1643D48 for ; Fri, 22 Jul 2005 20:17:25 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from localhost ([::ffff:216.153.147.194]) (AUTH: LOGIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Fri, 22 Jul 2005 16:17:21 -0400 id 0014000F.42E15453.0000170F Received: by localhost (sSMTP sendmail emulation); Fri, 22 Jul 2005 16:17:25 -0400 Date: Fri, 22 Jul 2005 16:17:25 -0400 From: Mark Bucciarelli To: freebsd-questions@freebsd.org Message-ID: <20050722201725.GW1660@rabbit> Mail-Followup-To: freebsd-questions@freebsd.org References: <20050722165829.X36717@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <20050722165829.X36717@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i Subject: Re: preventing a dual-mount of an NFS file system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 20:17:26 -0000 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?