Re: RFC - sysctl or module parameters.

From: Greg KH
Date: Fri Sep 01 2006 - 14:27:38 EST


On Fri, Sep 01, 2006 at 07:57:12PM +0400, Andrey Borzenkov wrote:
> Greg KH wrote:
>
> > On Fri, Sep 01, 2006 at 12:02:52PM +1000, Neil Brown wrote:
> >>
> >> - I could make it a module parameter: use_hostnames, and tell
> >> Jo to put
> >> options lockd use_hostnames=yes
> >> in /etc/modprobe.d/lockd if that is what (s)he wants.
> >> But that won't work if the module is compiled in (will it?).
> >
> > Yes it will. See Documentation/kernel-parameters.txt for how it works.
> >
>
> I must be blind today but I failed to find anything about this in mentioned
> file. Nor do I see how it can possibly work. Could you please elaborate a
> bit?

Well, it doesn't work for reading the info from the module parameter
files, sorry, it was a bit late when I wrote that. What I ment to say
is that the parameter can be set from the kernel command line at boot
time, if the module is built into the kernel.

Sorry for the confusion,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/