From owner-freebsd-bugs Wed Dec 18 12:30: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39E5537B401 for ; Wed, 18 Dec 2002 12:30:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EA4043ED8 for ; Wed, 18 Dec 2002 12:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBIKU2x3055413 for ; Wed, 18 Dec 2002 12:30:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBIKU2Xn055412; Wed, 18 Dec 2002 12:30:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2A3537B401 for ; Wed, 18 Dec 2002 12:20:39 -0800 (PST) Received: from Brice.dorm9.nccu.edu.tw (Brice.dorm9.nccu.edu.tw [140.119.200.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 205A543E4A for ; Wed, 18 Dec 2002 12:20:38 -0800 (PST) (envelope-from spf@Brice.dorm9.nccu.edu.tw) Received: from Brice.dorm9.nccu.edu.tw (localhost.dorm9.nccu.edu.tw [127.0.0.1]) by Brice.dorm9.nccu.edu.tw (8.12.6/8.12.6) with ESMTP id gBIKPbmC000443; Thu, 19 Dec 2002 04:25:37 +0800 (CST) (envelope-from spf@Brice.dorm9.nccu.edu.tw) Received: (from spf@localhost) by Brice.dorm9.nccu.edu.tw (8.12.6/8.12.6/Submit) id gBIKPaAx000442; Thu, 19 Dec 2002 04:25:36 +0800 (CST) Message-Id: <200212182025.gBIKPaAx000442@Brice.dorm9.nccu.edu.tw> Date: Thu, 19 Dec 2002 04:25:36 +0800 (CST) From: spf Reply-To: spf To: FreeBSD-gnats-submit@FreeBSD.org Cc: spf@xslt.cs.nccu.edu.tw X-Send-Pr-Version: 3.113 Subject: bin/46362: mount_smbfs doesn't check if something is mounted on mount point Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46362 >Category: bin >Synopsis: mount_smbfs doesn't check if something is mounted on mount point >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 18 12:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: spf >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD Brice.dorm9.nccu.edu.tw 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #15: Sun Nov 17 07:10:48 CST 2002 root@Brice.dorm9.nccu.edu.tw:/usr/obj/usr/src/sys/spf i386 >Description: mount_smbfs doesn't check if something is mounted on mount point use mount_smbfs to mount resources on used mount point all mount_smbfs will success no matter where you mount it on the output of df, mount will reaveal additional mount_smbfs rows >How-To-Repeat: mount_smbfs -I foo.com //spf@foo/e /samba/foo/e mount_smbfs -I foo.com //spf@foo/e /samba/foo/e mount_smbfs -I blah.com //spf@blah/test /samba/foo/e mount_smbfs -I blah.com //spf@blah/test /mnt_d df -h /dev/ad0s5 5.9G 4.7G 1.2G 80% /mnt_d //SPF@FOO/E 5.3G 3.7G 1.6G 71% /samba/foo/e //SPF@FOO/E 5.3G 3.7G 1.6G 71% /samba/foo/e //SPF@BLAH/TEST 234G 212G 22G 91% /samba/foo/e //SPF@BLAH/TEST 234G 212G 22G 91% /mnt_d >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message