Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 1998 02:00:49 +0100
From:      Tor Egge <Tor.Egge@idi.ntnu.no>
To:        rhh@ct.picker.com
Cc:        hackers@FreeBSD.ORG
Subject:   Re: "mount /dev/fd0 /" == REBOOT! (?)
Message-ID:  <199802140100.CAA27177@pat.idi.ntnu.no>
In-Reply-To: Your message of "Fri, 13 Feb 1998 16:42:31 -0500"
References:  <19980213164231.23272@ct.picker.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>      mount /dev/fd0 /
> 
> I was surprised when the above command rebooted my machine.  Is this
> correct behavior?  This is on 3.0-971208-SNAP BTW.

This is a known problem (assuming that you got a panic: lockmgr:
locking against myself). The mount system call has an exclusive lock
on '/' while ffs_mount tries to perform a lookup on '/dev/rfd0'.

PR kern/434, kern/1031, kern/1067, kern/2174 reports the same problem.

I've sent a suggested fix for PR#1067.

- Tor Egge

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802140100.CAA27177>