Re: [PATCH 1/2] forcedeth: make module parameters readable in/sys/module
From: Bill Fink
Date: Wed May 18 2011 - 23:09:27 EST
On Wed, 18 May 2011, Stephen Hemminger wrote:
> On Wed, 18 May 2011 14:09:59 -0700
> David Decotigny <decot@xxxxxxxxxx> wrote:
> > This change allows to publish the values of the module parameters in
> > /sys/module.
> Although this makes more info for developer, it also means more
> stuff in sysfs taking more memory and not providing any real value
> that can't be found by looking at the /etc/modprobe.d for any parameters
> user might have set.
As a user, I find having the module parameter info in
/sys/module/driver/parameters/* extremely useful at times.
In tracking down weird problems I can for example do:
grep . /sys/module/driver/parameters/*
to get a snapshot of module parameters. I can then compare
this with other similar systems to see if there are any
differences of note that might be significant (anything
from differences due to kernel versions to just forgetting
some change I made).
I don't see that it's really much extra significant overhead
on the system either.
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/