Re: [Vserver] (bind-)mount tmpfs into VServer?

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 15 Nov 2005 - 17:29:10 GMT
Message-ID: <20051115172910.GB20817@MAIL.13thfloor.at>

On Tue, Nov 15, 2005 at 11:51:12AM +0100, Gebhardt Thomas wrote:
> Hi,
>
> On Friday 11 November 2005 20:59, Bruno wrote:
> > The way to solve this should be:
> > vnamespace -e <id> mount -n src /vservers/veserver/target -t ramfs
>
> thank you very much for the hint, it works!
>
> Just curious: Why "-n", i.e., no entry in /etc/mtab ? Is it possible
> to get an overview over all mounted (tmpfs) directories from within
> the host server? If not, the namespace concept can result in rather
> confusing configurations.

well, on the contrary, adding the entry to /etc/mtab would
result in rather confusing situations, as, for the host,
the mount does not exist at all ...

it might make sense to add the entry to the guest's mtab
and you can do that if you like, but /etc/mtab can contain
any kind of wrong/useless information, the only relevant
information is in /proc/mounts

best,
Herbert

> Thanks, Thomas
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Nov 15 17:29:33 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 15 Nov 2005 - 17:29:37 GMT by hypermail 2.1.8