Re: Question for remount

From: Li Zefan
Date: Sun Feb 22 2009 - 21:27:29 EST


> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/