[Devel] [PATCH rh7] ve: Add a ability to show ve.mount_opts

Kirill Tkhai ktkhai at odin.com
Tue Jul 14 01:27:29 PDT 2015


В Пн, 13/07/2015 в 12:38 -0700, Maxim Patlasov пишет:
> On 07/08/2015 04:50 AM, Kirill Tkhai wrote:
> > ...
> > > Why do we need to show hidden options to CT' user? He/she doesn't 
> > > see
> > > 
> > > ".balloon" file, so it doesn't seem consistent to show
> > > "balloon_ino=N".
> > But this way "read" won't show all written using "write". It may
> > confuse users or vzctl developers.
> > 
> > I think more debug info won't be worse.
> 
> Sorry for delay, I somehow missed your reply in my inbox folder. Are 
> these 'read' and 'write' allowed only from host system (ve0) or 
> inside 
> CT as well?

It's allowed from inside a CT like other ve cgroup files.
But it's not a problem of this patch, it's a generic problem,
because mounting of ve cgroup from CT is not prohibited for now.
Please, see cgroup_mount() for the details.



More information about the Devel mailing list