mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: "Greg KH" <greg@kroah.com>
Cc: "Neil Brown" <neilb@suse.de>, linux-kernel@vger.kernel.org
Subject: Re: RFC - sysctl or module parameters.
Date: Fri, 1 Sep 2006 08:23:43 -0400	[thread overview]
Message-ID: <d120d5000609010523n6942d881k19c19a22ea102068@mail.gmail.com> (raw)
In-Reply-To: <20060901101001.GA13912@kroah.com>

On 9/1/06, Greg KH <greg@kroah.com> wrote:
> On Fri, Sep 01, 2006 at 12:02:52PM +1000, Neil Brown wrote:
>
> > Thus we could just have a module option, just add module config
> > information to /etc/modprobe.d and run
> >   modprobe --apply-option-to-active-modules
> > at the same time as "sysctl -p" and it would all 'just work'
> > whether the module were compiled in to not.
>
> Ah, you want it after the code is loaded.  That's different.
>
> Would probably work just fine, no objection from me.  Except you would
> have to hack up the module-init-tools package :)
>

This will be pretty hard to implement in general as quite a few module
parameters do not allow changing once set and so you will have to
virtually reload modules while doing your "modprobe --apply.." trick.

-- 
Dmitry

  reply	other threads:[~2006-09-01 12:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-01  2:02 Neil Brown
2006-09-01 10:10 ` Greg KH
2006-09-01 12:23   ` Dmitry Torokhov [this message]
2006-09-01 15:57   ` Andrey Borzenkov
2006-09-01 18:22     ` Greg KH
2006-09-01 15:25 ` Oleg Verych
2006-09-03  1:57 ` Horst H. von Brand

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=d120d5000609010523n6942d881k19c19a22ea102068@mail.gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    /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

all inboxes | Powered by JetHome®