NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/47040: renaming mount point panics in namei

   Date: Tue, 9 Oct 2012 15:19:56 +0000
   From: David Holland <>

   On Fri, Oct 05, 2012 at 02:00:08PM +0000, Taylor R Campbell wrote:
    >   I had a directory /foo/bar/, and I wanted to rename
    >   it to /foo/, so I ran
    >           % mv bar/ .
    >   from /foo, forgetting that /foo/bar/ had a file
    >   system mounted.  This immediately triggered a panic in namei:
    >           panic: leaf `' should be empty

   Which fs(es)?

/ is ffs sync, /foo is ffs async, and /foo/bar/ is nullfs
mounted read-only from /foo/bar/current, which is not a mount point.

Home | Main Index | Thread Index | Old Index