Hi all, I just checked the code. Umount(8) is fine. Unmount(2) is buggy.
> Looks like the wrong got unmounted. The mountlist should > be traversed in reverse order. umount(8) works as it should: umount -v procfs procfs: unmount from /mnt (but it does unmount /proc) umount(8) hands over the right mountpoint to the kernel, which just unmounts the wrong one :( > Bye the way, mounting procfs overlay over the same existing > mount works, unmounting the first results in a PANIC (TM). There are two bugs in the kernel. First one that the wrong procfs is unmounted inside the kernel if there are two. Second is that we allow overlay mounts with procfs, but panic() on unmounting. Martin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

