Date: Mon, 27 Jan 2003 00:50:03 +0100 (CET) From: Martin Blapp <mb@imp.ch> To: Tim Kientzle <kientzle@acm.org>, "" <rwatson@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: umount of procfs fails Message-ID: <20030127004626.E54252@levais.imp.ch> In-Reply-To: <20030127001151.L54133@levais.imp.ch> References: <20030127001151.L54133@levais.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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 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?20030127004626.E54252>
