mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Castle <dalgoda@ix.netcom.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: File read.
Date: Mon, 28 May 2001 11:34:46 -0700	[thread overview]
Message-ID: <20010528113446.G32600@thune.mrc-home.com> (raw)
In-Reply-To: <XFMail.20010528112631.davidel@xmailserver.org>

On Mon, May 28, 2001 at 11:26:31AM -0700, Davide Libenzi wrote:
> 
> On 28-Jun-2001 Anil Kumar wrote:
> > hi,
> > How do i read file within the kernel modules. I hope we can't use the FS
> > open... calls within kernel.
> 
> You can access fs methods directly.

But generally you don't want to.

Use a user mode application to feed you the data instead.

mrc
-- 
       Mike Castle       Life is like a clock:  You can work constantly
  dalgoda@ix.netcom.com  and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

  reply	other threads:[~2001-05-28 18:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-28  5:12 Anil Kumar
2001-05-28 18:26 ` Davide Libenzi
2001-05-28 18:34   ` Mike Castle [this message]
2001-05-28 19:06     ` Davide Libenzi
  -- strict thread matches above, loose matches on Subject: below --
2001-05-31 16:52 Lee Ho

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=20010528113446.G32600@thune.mrc-home.com \
    --to=dalgoda@ix.netcom.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

all inboxes | Powered by JetHome®