This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: custom file i/o
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Slide <slide dot o dot mix at gmail dot com>
- Cc: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 20 Jun 2008 08:46:36 +0200
- Subject: Re: [ECOS] custom file i/o
- References: <a623f7d10806191653k32dba38er56e6529e3edca674@mail.gmail.com>
On Thu, Jun 19, 2008 at 04:53:52PM -0700, Slide wrote:
> We have a special layer that we do file i/o over on our platform, it
> basically does a sort of RPC to a host machine for all the calls (when
> you open a file, it actually opens the file on the host). I have
> traced fopen down to the open function, but I can't find the
> implementation of the open function in order to override what it does
> for my environment. Can someone point me in the right direction?
You effectively have a filesystem, something like NFS. Take a look at:
http://ecos.sourceware.org/docs-latest/ref/fileio.html
and other file system code in packages/fs/
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss