Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2002 19:04:21 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Yann Sommer <yann@yann.us>
Cc:        stable@FreeBSD.ORG
Subject:   Re: umount of a removed procfs?
Message-ID:  <20020714190242.J66047-100000@woozle.rinet.ru>
In-Reply-To: <000501c22ac0$d847b260$5801a8c0@yann>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020714190242.J66047-100000>