Re: [Vserver] Can't bind-mount host->guest

From: Bodo Eggert <>
Date: Sun 30 Oct 2005 - 13:41:18 GMT
Message-ID: <Pine.LNX.4.58.0510301415430.2848@be1.lrz>

On Sun, 30 Oct 2005, Jun OKAJIMA wrote:

> I also have same question.
> How to do a mount to vserver namespace?

I don't know about the vserver mechanism (I'm currently not running one),
but according to LKML, you can change namespace by chrooting to
/proc/$PID/root. I asume it will be possible to mount to
/proc/$PID/root/mount/point, too. Otherwise you'll need to mount, cd to
the mountpoint, chroot (2) to the namespace and bind-mount '.' to the
desired location.

Off cause this isn't tested, but I think it should work.

Funny quotes:
10. Nothing is fool proof to a talented fool.
Vserver mailing list
Received on Sun Oct 30 13:41:49 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 30 Oct 2005 - 13:41:50 GMT by hypermail 2.1.8