Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 1999 20:19:50 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Martin Blapp <blapp@attic.ch>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: mountpoint locking with fbsd-nfs
Message-ID:  <199908020319.UAA07214@apollo.backplane.com>
References:   <Pine.BSF.4.02.9908011934180.4200-100000@bastian.attic.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
:I'm a little bit astonished that's now possible to mount via nfs
:several times at the same mountpoint with freebsd nfs clients:
:
:normal behaviour (Linux 2.2, Solaris):
:--------------------------------------
:
:magma:/ # mount magma:/cdrom /mnt
:magma:/ # mount magma:/cdrom /mnt
:mount: magma:/cdrom already mounted or /mnt busy
:
:freebsd behaviour (stable and current):
:---------------------------------------
:
:# mount magma:/cdrom /mnt
:# mount magma:/cdrom /mnt
:# mount magma:/cdrom /mnt
:
:#mount
:/dev/sd0s2a on / (NFS exported, local, soft-updates, writes: sync 9 async 1508)
:/dev/sd0s2e on /var (local, soft-updates, writes: sync 160 async 1695)
:procfs on /proc (local)
:magma:/cdrom on /mnt
:magma:/cdrom on /mnt 
:magma:/cdrom on /mnt
:
:I think this is a very strange behaviour ... any ideas ? And as I know
:loopback mounts are not possible with fbsd. Am I mistaken ?
:
:Martin

    Well, theoretically there is nothing wrong going on since you can mount
    things on top of an NFS directory.  Mount only complains about 
    duplicate normal partition mounts because it can't open the buffered
    block device the second time.  NFS doesn't care how many times a 
    directory is imported or exported.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908020319.UAA07214>