From: "Randy.Dunlap" <rddunlap@osdl.org>
To: selvakumar nagendran <kernelselva@yahoo.com>
Cc: Chris Friesen <cfriesen@nortelnetworks.com>,
linux-kernel@vger.kernel.org
Subject: Re: exporting /proc entry for module
Date: Wed, 12 Jan 2005 20:54:36 -0800 [thread overview]
Message-ID: <41E5FF0C.10807@osdl.org> (raw)
In-Reply-To: <20050113044912.40078.qmail@web60610.mail.yahoo.com>
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
prev parent reply other threads:[~2005-01-13 5:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-12 8:53 Removing a module even if use count is not zero selvakumar nagendran
2005-01-12 13:47 ` Brian Gerst
2005-01-12 15:15 ` Chris Friesen
2005-01-13 4:49 ` exporting /proc entry for module selvakumar nagendran
2005-01-13 4:54 ` Randy.Dunlap [this message]
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=41E5FF0C.10807@osdl.org \
--to=rddunlap@osdl.org \
--cc=cfriesen@nortelnetworks.com \
--cc=kernelselva@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/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