From owner-freebsd-questions@FreeBSD.ORG Mon Mar 26 15:26:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D005316A400 for ; Mon, 26 Mar 2007 15:26:04 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id A156313C457 for ; Mon, 26 Mar 2007 15:26:04 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 26551 invoked from network); 26 Mar 2007 15:26:04 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Mar 2007 15:26:04 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 2C72D28426; Mon, 26 Mar 2007 11:26:03 -0400 (EDT) To: Frank Bonnet References: <460784F7.8000104@esiee.fr> From: Lowell Gilbert Date: Mon, 26 Mar 2007 11:26:02 -0400 In-Reply-To: <460784F7.8000104@esiee.fr> (Frank Bonnet's message of "Mon\, 26 Mar 2007 10\:31\:51 +0200") Message-ID: <44y7lkm3g5.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions Subject: Re: two mounted directories with the same name ? 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: Mon, 26 Mar 2007 15:26:04 -0000 Frank Bonnet writes: > Hello > > A strange thing happened to my 6.2-R amd64 machine > > it has the following disk partitionning configuration > > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/aacd0s1a 5077038 66764 4604112 1% / > devfs 1 1 0 100% /dev > /dev/aacd0s1g 302097610 4 277929798 0% /user > /dev/aacd0s1d 30462636 2085826 25939800 7% /usr > /dev/aacd0s1e 10154158 30862 9310964 0% /var > /dev/aacd0s1f 203114302 14 186865144 0% /var/mail > > > OK, now I want to NFS mount a Netapp filer volume on the /user partition > look below what happened ... > > mail2# mount_nfs yfiler:/vol/imap /user > mail2# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/aacd0s1a 5077038 66764 4604112 1% / > devfs 1 1 0 100% /dev > /dev/aacd0s1g 302097610 4 277929798 0% /user > /dev/aacd0s1d 30462636 2085826 25939800 7% /usr > /dev/aacd0s1e 10154158 30864 9310962 0% /var > /dev/aacd0s1f 203114302 14 186865144 0% /var/mail > yfiler:/vol/imap 209715200 111015364 98699836 53% /user > > It seems there are two partitions (one local and one NFS mounted) > with the *same* name ... Yes, and the local one will be hidden until you unmount the NFS one.