From owner-freebsd-questions@FreeBSD.ORG Fri Jul 30 05:53:29 2004 Return-Path: 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 9C10B16A4CE for ; Fri, 30 Jul 2004 05:53:29 +0000 (GMT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD2FF43D1F for ; Fri, 30 Jul 2004 05:53:28 +0000 (GMT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.11/8.12.8) with ESMTP id i6U5r9I9045054; Fri, 30 Jul 2004 07:53:09 +0200 (CEST) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)i6U5r8lo045051; Fri, 30 Jul 2004 07:53:08 +0200 (CEST) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Fri, 30 Jul 2004 07:53:08 +0200 (CEST) From: Konrad Heuer To: jon In-Reply-To: <200407300443.i6U4h5DB082278@whoweb.com> Message-ID: <20040730070925.R5646@gwdu60.gwdg.de> References: <200407300443.i6U4h5DB082278@whoweb.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org Subject: Re: mount_smbfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 05:53:29 -0000 On Fri, 30 Jul 2004, jon wrote: > The mount_smbfs(8) command on 5.2.1 allows multiple mounts using the same > source and mount point. This sounds like a bug to me since other file > systems such as ufs return an error on such attempts. Anyone know of a > reason why this is allowed in mount_smbfs? Why shouldn't it be? The same holds true for nfs. And it really doesn't matter whether you mount via smbfs or nfs multiple times on the same client or once on multiple clients, does it? If you mount one or more times, if you use ufs or any other fs, it is always possible to write simultaneously to one and the same file leading to data loss. That's Unix since the early 1970s, isn't it? Of course you cannot mount a ufs more than once, but that's because the kernel needs to manage the buffer cache non-ambiguously to preserve data consistency in the fs structure. Regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de