Re: [Vserver] UnionFS and VServer

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 18 Apr 2006 - 01:53:01 BST
Message-ID: <20060418005301.GA1825@MAIL.13thfloor.at>

On Mon, Apr 17, 2006 at 11:00:13PM +0200, Sebastian Harl wrote:
> > > Is there any define I can check to see, if the VServer patch has been
> > > applied?
> >
> > CONFIG_VSERVER is always on when patched with the
> > Linux-VServer patches
>
> Well, I actually need to know if the BME patch was applied or not ;-) As
> discussed on IRC, MNT_IS_RDONLY might be a good define to check for. Any other
> (better) ideas?

either that or the MNT_RDONLY itself, everything else
is not really typical and I still hope that this or
something similar will get into mainline soon ...

> > > What would be the correct thing to pass to the vfs_* functions?
> >
> > as I said, the corresponding vfsmount information
> > but for a quick and dirty hack you can pass NULL
> > there, but it will break the read-only bind mounts
>
> If I can find some spare time, I'll write a patch for unionfs that
> will handle all cases correctly. Can I find any documentation (e.g.
> commented source code ;-) that describes those vfsmount information?

check out
 http://vserver.13thfloor.at/Experimental/BME/split-2.6.13-vs2.x-bme0.06.1

it should give you and idea what kind of data is
usually passed here ...

best,
Herbert

> Cheers,
> Sebastian
> --
> Sebastian "tokkee" Harl
> GnuPG-ID: 0x8501C7FC
> http://tokkee.org/
>

> _______________________________________________
> 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 Apr 18 01:53:24 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 18 Apr 2006 - 01:53:29 BST by hypermail 2.1.8