Bug 472 - 'mount /foo /foo' causes panic: ufs_lock
Summary: 'mount /foo /foo' causes panic: ufs_lock
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-06-01 18:40 UTC by Stephen McKay
Modified: 1995-06-01 18:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen McKay 1995-06-01 18:40:00 UTC
	One hazy afternoon, I mistyped a floppy mount command and got:

	    mount -t msdos /fd0 /fd0

	Result:

	    panic: ufs_lock: recursive lock not expected, pid: 267

	To be sure of this, I rebooted and tried:

	    mount /fd0 /fd0

	Result:

	    panic: ufs_lock: recursive lock not expected, pid: 11

Fix: 

Unknown.
How-To-Repeat: 
	'mount /mnt /mnt' should do the trick.
Comment 1 Joerg Wunsch freebsd_committer freebsd_triage 1995-07-08 18:11:10 UTC
State Changed
From-To: open->closed

duplicate for kern/434      umapfs panics when mounting ufs over itself