[Devel] Re: Question for remount

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Mon Feb 23 17:47:51 PST 2009


On Tue, 24 Feb 2009 09:41:28 +0800
Li Zefan <lizf at cn.fujitsu.com> wrote:

> >>  To change the set of subsystems bound to a mounted hierarchy, just
> >>  remount with different options:
> >> +# mount -o remount,cpuset,ns hier1 /dev/cgroup
> >>  
> >> -# mount -o remount,cpuset,ns  /dev/cgroup
> >> +Now numtasks is removed from the hierarchy and ns is added.
> >> +
> >> +Note this will add ns to the hierarchy but won't remove numtasks or
> >> +cpuset:
> >> +# mount -o remount,ns /dev/cgroup
> >>  
> > 
> > Just a question. What is "numtasks" here ? We have numtasks cgroup ?
> > 
> 
> No, I guess that's a proposed but not implemented cgroup subsystem. :)
> And I can change it to an existing one.
> 
O.K. thanks.

BTW, how about writing this kind of text in explicit way ?
+Note: this will add ns to the hierarchy but won't remove numtasks or
+cpuset because new options is appended to old options. If you want to
+override, please use.....

-Kame

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list