[Devel] Re: Question for remount

Li Zefan lizf at cn.fujitsu.com
Sun Feb 22 18:27:02 PST 2009


> 1. Documentation/cgroups/cgroup.txt says
>    #mount -oremount,cpuset,ns /dev/cgroup
>    But this should be
>    #mount -tcgroup none /dev/cgroup -oremount,cpuset,ns
> 

I agree. Actually I noticed this long ago.

Doing this won't remove cpuacct from the cgroup hierarchy:
# mount -t cgroup -o cpu,cpuacct xxx /mnt
# mount -o remount,cpu /mnt
This will get you right:
# mount [-t cgroup] -o remount,cpu xxx /mnt

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




More information about the Devel mailing list