From owner-freebsd-stable Sun Jul 14 8: 4:38 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8127037B400 for ; Sun, 14 Jul 2002 08:04:33 -0700 (PDT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ECC943E5E for ; Sun, 14 Jul 2002 08:04:32 -0700 (PDT) (envelope-from marck@rinet.ru) Received: from localhost (marck@localhost) by woozle.rinet.ru (8.11.6/8.11.6) with ESMTP id g6EF4Lw99263; Sun, 14 Jul 2002 19:04:21 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 14 Jul 2002 19:04:21 +0400 (MSD) From: Dmitry Morozovsky To: Yann Sommer Cc: stable@FreeBSD.ORG Subject: Re: umount of a removed procfs? In-Reply-To: <000501c22ac0$d847b260$5801a8c0@yann> Message-ID: <20020714190242.J66047-100000@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 13 Jul 2002, Yann Sommer wrote: YS> Heya, YS> YS> After creating a jail, mounting it's /proc, and renaming it's directory YS> structure in the host environment as follows: YS> YS> # mkdir -p /jails/a/proc YS> # mount_procfs proc /jails/a/proc YS> # mv /jails/a /jails/b YS> YS> ...the following happens: YS> YS> # mount |tail -n 1 YS> procfs on /jails/a/proc (procfs, local) YS> # umount -f /jails/a/proc YS> umount: unmount of /jails/a/proc failed: No such file or directory umount -f procfs will help you (If it is the last one mounted procfs; otherwise, repeat umount -f as needed) Then, mount 'em again in new places. There should be a little or no at all harm to running programs to live a bit without procfs. Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message