[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49A20976.2050301@cn.fujitsu.com>
Date: Mon, 23 Feb 2009 10:27:02 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
menage@...gle.com, containers@...ts.linux-foundation.org
Subject: Re: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists