From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754773AbZBWC10 (ORCPT ); Sun, 22 Feb 2009 21:27:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752006AbZBWC1R (ORCPT ); Sun, 22 Feb 2009 21:27:17 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:62702 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751412AbZBWC1Q (ORCPT ); Sun, 22 Feb 2009 21:27:16 -0500 Message-ID: <49A20976.2050301@cn.fujitsu.com> Date: Mon, 23 Feb 2009 10:27:02 +0800 From: Li Zefan User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: KAMEZAWA Hiroyuki CC: "linux-kernel@vger.kernel.org" , menage@google.com, containers@lists.linux-foundation.org Subject: Re: Question for remount References: <20090220190223.e8b4f6a8.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20090220190223.e8b4f6a8.kamezawa.hiroyu@jp.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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