From nobody@FreeBSD.org  Wed Feb 14 17:56:40 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8073116A406
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Feb 2007 17:56:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 713E513C4B3
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Feb 2007 17:56:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1EHuek9081528
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Feb 2007 17:56:40 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l1EHuexw081527;
	Wed, 14 Feb 2007 17:56:40 GMT
	(envelope-from nobody)
Message-Id: <200702141756.l1EHuexw081527@www.freebsd.org>
Date: Wed, 14 Feb 2007 17:56:40 GMT
From: Alexander<lunkov@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: panic on double mounting the same mount point
X-Send-Pr-Version: www-3.0

>Number:         109172
>Category:       misc
>Synopsis:       panic on double mounting the same mount point
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 14 18:00:12 GMT 2007
>Closed-Date:    Wed Feb 14 18:57:11 GMT 2007
>Last-Modified:  Wed Feb 14 18:57:11 GMT 2007
>Originator:     Alexander
>Release:        FreeBSD 6.2
>Organization:
>Environment:
FreeBSD localhost 6.2-RELEASE FreeBSD 6.2-RELEASE #7: Thu Jan 25 21:09:24 MSK 2007     is@localhost:/usr/obj/usr/src/sys/LUKA  i386
>Description:
Sorry for my english!

I have double mounted the same mount point and then get panic.

/etc/fstab:
/dev/ad0s1		/mnt/c		ntfs	ro,noauto,-C=KOI8-R,-m=755,-u=luka,-g=luka	0	0

I`m working as user "is" (not the owner of the mount point).

is@localhost> mount /mnt/c
is@localhost> mount /mnt/c
panic...


>How-To-Repeat:
/etc/fstab:
/dev/ad0s1		/mnt/c		ntfs	ro,noauto,-C=KOI8-R,-m=755,-u=luka,-g=luka	0	0

is@localhost> mount /mnt/c
is@localhost> mount /mnt/c
panic...
>Fix:
Check if mount point has been mounted before mounting.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: rodrigc 
State-Changed-When: Wed Feb 14 18:56:44 UTC 2007 
State-Changed-Why:  
Duplicate of 89966. 
http://www.freebsd.org/cgi/query-pr.cgi?pr=89966 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109172 
>Unformatted:
