Date: Mon, 27 Jan 2003 00:30:56 +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: <20030127001151.L54133@levais.imp.ch>
next in thread | raw e-mail | index | archive | help
Hi, I just checked this: -su-2.05b# mount -t procfs proc /proc/ -su-2.05b# mount -t procfs proc /mnt -su-2.05b# mount [...] procfs on /proc (procfs, local) procfs on /mnt (procfs, local) -su-2.05b# umount procfs -su-2.05b# mount [...] procfs on /mnt (procfs, local) Looks like the wrong got unmounted. The mountlist should be traversed in reverse order. I fixed exactly this type of bug for NFS mounts and UFS disks. It works there fine. I'll have a look at the code tomorrow. Bye the way, mounting procfs overlay over the same existing mount works, unmounting the first results in a PANIC (TM). I'll try to fix the userland stuff. Martin Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org> ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: <finger -l mbr@freebsd.org> PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ 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?20030127001151.L54133>
