[lkml]   [2009]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Question for remount
> 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

 \ /
  Last update: 2009-02-23 03:29    [W:0.093 / U:1.936 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site