Re: preventing a dual-mount of an NFS file system

2005-07-22 Thread Mark Bucciarelli
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? 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


preventing a dual-mount of an NFS file system

2005-07-22 Thread Marc G. Fournier


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 ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"