Subject: kern/950: bad "mount" arguments cause panic
To: None <gnats-admin@NetBSD.ORG>
From: None <>
List: netbsd-bugs
Date: 04/10/1995 15:05:05
>Number:         950
>Category:       kern
>Synopsis:       bad "mount" arguments cause panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 10 15:05:03 1995
>Originator:     Matthias Drochner
	"KFA Juelich"
>Release:        1.0A (current of Mar 31)
	System: NetBSD zelz19 1.0A NetBSD 1.0A (GENERIC) #0: Fri Mar 31 21:23:07 MET DST 1995 drochner@zelz19:/mnt/usr/src/sys/arch/i386/compile/GENERIC i386

	The problem has shown up after a mistake giving the arguments to
"mount". The first parts of source and target were identical:
mount zelnfs/... zelnfs   (Should be a nfs mount...)
This causes: "panic: locking against myself".

	mkdir xxx
	mount xxx xxx
	One more parameter check?