From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RgIQp-0001ay-Ed for garchives@archives.gentoo.org; Thu, 29 Dec 2011 16:02:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 249E221C1B5; Thu, 29 Dec 2011 16:02:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E8C4F21C1B5 for ; Thu, 29 Dec 2011 16:02:02 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B523F1B4085 for ; Thu, 29 Dec 2011 16:02:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 04CA380043 for ; Thu, 29 Dec 2011 16:02:01 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <29da0c8bf0b377dcdc7ca489bd783d804f444437.WilliamH@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/sysfs.in X-VCS-Directories: init.d/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 29da0c8bf0b377dcdc7ca489bd783d804f444437 Date: Thu, 29 Dec 2011 16:02:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6e487aa7-896c-4d74-9686-79c8479a3389 X-Archives-Hash: 6ceb1133b751489f2d4a66ace1fafc69 commit: 29da0c8bf0b377dcdc7ca489bd783d804f444437 Author: William Hubbs gentoo org> AuthorDate: Thu Dec 29 16:01:28 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Thu Dec 29 16:01:28 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D29da0c8b cgroups: default the size of the tmpfs to 10 mb --- init.d/sysfs.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/sysfs.in b/init.d/sysfs.in index 8809bda..ac6934a 100644 --- a/init.d/sysfs.in +++ b/init.d/sysfs.in @@ -65,8 +65,8 @@ mount_misc() if [ -d /sys/fs/cgroup ] && ! mountinfo -q /sys/fs/cgroup; then if grep -qs cgroup /proc/filesystems; then ebegin "Mounting cgroup filesystem" - mount -n -t tmpfs -o nodev,noexec,nosuid,mode=3D755 \ - cgroup_root /sys/fs/cgroup + local opts=3D"nodev,noexec,nosuid,mode=3D755,size=3D${rc_cgroupsize:-= 10m}" + mount -n -t tmpfs -o ${opts} cgroup_root /sys/fs/cgroup eend $? fi fi