Re: [Vserver] Hidden mount - how?

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 28 Dec 2005 - 15:38:04 GMT
Message-ID: <20051228153804.GA6689@MAIL.13thfloor.at>

On Wed, Dec 28, 2005 at 04:00:24PM +0100, Guenther Fuchs wrote:
> Hi there,
>
> as recommended in amavis configuration I have used an tmpfs mount to
> mount memory as tmp for amavisd-new by adding following line to fstab:
>
> | none /var/amavis/tmp tmpfs size=250m,mode=1777 0 0
>
> For various reasons (and also for other mounts) I'd like to "hide"
> this (and other) mount(s) visibility inside the guest - how can this
> done? Any ideas?

'define' hide ...

if you want to have mount not show it, just
remove the entry from the mtab (or mount it
with -n) if you want to hide that fact from
/proc/mounts then it's getting trickier ...
(i.e. you will have to patch the kernel)

HTH,
Herbert

> --
> regards,
>
> Guenther Fuchs
>
> _______________________________________________
> 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 Wed Dec 28 15:38:36 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 28 Dec 2005 - 15:38:41 GMT by hypermail 2.1.8