Msg13021.html

From Linix VServer
Jump to navigationJump to search

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Vserver] UnionFS and VServer[edit]


  • From: Sebastian Harl
  • Date: Mon, 17 Apr 2006 23:00:08 +0200 (CEST)



> > 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?

> > 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?

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

Attachment: signature.asc
Description: Digital signature