* [ECOS] file system on eCos !!
@ 2003-09-12 0:21 rakesh
2003-09-12 6:59 ` sandeep
0 siblings, 1 reply; 3+ messages in thread
From: rakesh @ 2003-09-12 0:21 UTC (permalink / raw)
To: ecos-mailing-list
I was trying to port a samll http server on eCos
(written for Linux). Can somebody give me details
about file system on eCos. Say I want to open some
file as
fd = open("/home/rakesh/xyz.data", O_RDWR);
So how to install file system so that I can have files
like /home/rakesh/xyz.data? And how and where to
download file on target board?
Regards
Rakesh
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] file system on eCos !!
2003-09-12 0:21 [ECOS] file system on eCos !! rakesh
@ 2003-09-12 6:59 ` sandeep
2003-09-12 10:22 ` Andrew Lunn
0 siblings, 1 reply; 3+ messages in thread
From: sandeep @ 2003-09-12 6:59 UTC (permalink / raw)
To: rakesh; +Cc: ecos-mailing-list
rakesh wrote:
> I was trying to port a samll http server on eCos
> (written for Linux). Can somebody give me details
> about file system on eCos. Say I want to open some
> file as
> fd = open("/home/rakesh/xyz.data", O_RDWR);
> So how to install file system so that I can have files
> like /home/rakesh/xyz.data? And how and where to
> download file on target board?
Please have a look at ROMFS and RAMFS tests. You can build a static image of
your web content (in ROMFS) and use it, in case you want some more files to be
created during webserver run, make use of RAMFS.
you may also want to have a look at GoAhead webserver that has eCos port. they
use their own webromfs (static image of web content). If you search goahead
newsgroup you can find patch to make it use eCos's ROMFS instead. In case you
don't manage it for some reasons, send me offlist mail.
In all the cases the ROMFS (or equivalent) content is part of executable that you create.
I hope I interpreted your question correctly?
regards
sandeep
--------------------------------------------------------------------------
"He flung himself on his horse and rode madly off in all directions"
--------------------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] file system on eCos !!
2003-09-12 6:59 ` sandeep
@ 2003-09-12 10:22 ` Andrew Lunn
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2003-09-12 10:22 UTC (permalink / raw)
To: sandeep; +Cc: rakesh, ecos-mailing-list
> Please have a look at ROMFS and RAMFS tests. You can build a static image
> of your web content (in ROMFS) and use it, in case you want some more files
> to be created during webserver run, make use of RAMFS.
Also take a look at JFFS2.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-12 10:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-12 0:21 [ECOS] file system on eCos !! rakesh
2003-09-12 6:59 ` sandeep
2003-09-12 10:22 ` Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).