lkml.org 
[lkml]   [2003]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] add kobject to struct module
On Wed, Sep 10, 2003 at 05:04:29PM -0700, Mike Fedyk wrote:
> On Wed, Sep 10, 2003 at 04:45:38PM -0700, Greg KH wrote:
> > To quote from include/linux/moduleparam.h:
> > /* This is the fundamental function for registering boot/module
> > parameters. perm sets the visibility in driverfs: 000 means it's
> > not there, read bits mean it's readable, write bits mean it's
> > writable. */
>
> Any chance to make it always visible and read-only by default with the
> option of making it writable?

I don't know. Doesn't matter to me.

> Exposing the module options would be very helpful.
>
> Also showing its read/write in the sysfs directory listing would be great.
> (if it doesn't already do that).

Look at the permission bits :)

> Any chance the parameter defaults (if they're not hard coded...) could be
> exposed even if they're not given to the module on the command line? (wish
> list...)

That's probably just a modinfo hack.

thanks,

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

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.040 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site