lkml.org 
[lkml]   [2005]   [Jan]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 12 Jan 2005 20:54:36 -0800
From"Randy.Dunlap" <>
SubjectRe: exporting /proc entry for module
selvakumar nagendran wrote:
> --- Chris Friesen <cfriesen@nortelnetworks.com> wrote:
> 
>>To fix this in the future, export a /proc entry that
>>when written to 
>>causes your module to properly clean everything up
>>and prevent anyone 
>>from getting new accesses.  This then allows you to
>>remove the module 
>>cleanly.  Note that it may not be possible to
>>cleanly deregister, 
>>depending on what your module is doing.
>>
> 
>   How can I export a /proc entry for my module?

. . . . . . . . . .

You can study the valuable documents at
http://kernelnewbies.org/documents/

or google for other procfs example source code,
which should find several examples for you,
such as http://www.xenotime.net/linux/procfs_ex/

-- 
~Randy
-
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 14:09    [from the cache]
©2003-2008