Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is there a standard sysctl-like way to modify sysfs files at boot time?
Date: Wed, 29 Dec 2010 01:56:14
Message-Id: 4d1a94db.584ddf0a.6baf.160b@mx.google.com
In Reply to: [gentoo-user] Is there a standard sysctl-like way to modify sysfs files at boot time? by Mark David Dumlao
1 On Monday 27 December 2010 19:37:29 Mark David Dumlao wrote:
2 > I want to do this:
3 > http://blog.internetnews.com/skerner/2010/11/forget-200-lines-red-hat-speed.
4 > html
5 >
6 > in userspace, but automate it at boot time. it requires that I create and
7 > mount the cgroup subsystem in sysfs and sounds a lot like something that I'd
8 > do in sysctl for /proc/sys, but for sysfs rather than procfs.
9 >
10 > The only thing that comes to mind is to append to the local init script, but
11 > it's so close to what sysctl does that I feel like someone's probably
12 > written some tool for it. Is there one?
13
14 why?
15
16 why not just patch the kernel? or wait for 2.6.37? Why trying the easily
17 broken userspace approach?
18
19 btw - patch or userspace - what happens with apps not started from a shell?

Replies

Subject Author
Re: [gentoo-user] Is there a standard sysctl-like way to modify sysfs files at boot time? Mark David Dumlao <madumlao@×××××.com>