public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Volker Armin Hemmann <volkerarmin@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Is there a standard sysctl-like way to modify sysfs files at boot time?
Date: Wed, 29 Dec 2010 02:54:11 +0100	[thread overview]
Message-ID: <4d1a94db.584ddf0a.6baf.160b@mx.google.com> (raw)
In-Reply-To: <AANLkTimeZ-cqRG8hbiMhu0Wmd5RmGaVObjX5M=fX6Ja4@mail.gmail.com>

On Monday 27 December 2010 19:37:29 Mark David Dumlao wrote:
> I want to do this:
> http://blog.internetnews.com/skerner/2010/11/forget-200-lines-red-hat-speed.
> html
> 
> in userspace, but automate it at boot time. it requires that I create and
> mount the cgroup subsystem in sysfs and sounds a lot like something that I'd
> do in sysctl for /proc/sys, but for sysfs rather than procfs.
> 
> The only thing that comes to mind is to append to the local init script, but
> it's so close to what sysctl does that I feel like someone's probably
> written some tool for it. Is there one?

why?

why not just patch the kernel? or wait for 2.6.37? Why trying the easily 
broken userspace approach?

btw - patch or userspace - what happens with apps not started from a shell?



  parent reply	other threads:[~2010-12-29  1:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27 11:37 [gentoo-user] Is there a standard sysctl-like way to modify sysfs files at boot time? Mark David Dumlao
2010-12-28 11:28 ` Mick
2010-12-29  1:07   ` Adam Carter
2010-12-29  1:54 ` Volker Armin Hemmann [this message]
2010-12-30 15:05   ` Mark David Dumlao
2010-12-30 15:11     ` Mark David Dumlao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d1a94db.584ddf0a.6baf.160b@mx.google.com \
    --to=volkerarmin@googlemail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox