Subject: Re: Panic when "recursive" mounting
To: Julio Merino <jmmv@hispabsd.org>
From: Chris Pinnock <cjep@fawlty.net>
List: tech-kern
Date: 07/27/2002 11:58:22
On Sat, Jul 27, 2002 at 12:26:48PM +0200, Julio Merino wrote:
> Hello
> 
> I've come across with a weird panic when using mount points as mount
> sources... let me explain it with an example:
> 
> $ mkdir /mnt2
> $ mount -t union -o -b /usr/pkgsrc /mnt
> $ mount -t null /mnt /mnt2
> $ ls /mnt
> (works, as expected)
> $ ls /mnt2
> (kernel panic)

I saw a panic doing something similar to this with an early 1.5 IIRC.
Union mounts don't like being null mounted.

best wishes,
Chris