From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Simon Haynes <simon@baydel.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: File access
Date: Thu, 14 Aug 2003 15:19:17 +0300 [thread overview]
Message-ID: <20030814121917.GX6898@mea-ext.zmailer.org> (raw)
In-Reply-To: <67597854DA5@baydel.com>
On Thu, Aug 14, 2003 at 12:32:18PM +0100, Simon Haynes wrote:
> I am currently developing a module which I would like to configure
> via a simple text file.
>
> I cannot seem to find any information on accessing files via a kernel
> module.
>
> Is this possible and if so how is it done ?
Yes, but it is rather complicated business, and really should not
be done in kernel. It can be done, but like Richard said, defining
your own set of IOCTLs for the device is better. The complicated
configuration file parsing can then reside in the user-space utility
program.
> Many Thanks
> Simon.
/Matti Aarnio
next prev parent reply other threads:[~2003-08-14 12:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-14 11:32 Simon Haynes
2003-08-14 12:07 ` Richard B. Johnson
2003-08-19 9:53 ` Simon Haynes
2003-08-19 12:17 ` Richard B. Johnson
2003-08-19 13:36 ` Simon Haynes
2003-08-19 15:01 ` Richard B. Johnson
2003-08-14 12:19 ` Matti Aarnio [this message]
2003-08-14 12:28 ` Muli Ben-Yehuda
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=20030814121917.GX6898@mea-ext.zmailer.org \
--to=matti.aarnio@zmailer.org \
--cc=linux-kernel@vger.kernel.org \
--cc=simon@baydel.com \
/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
all inboxes | Powered by JetHome®