This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: RAM disk
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: asif at inbox dot net
- Cc: ecos-devel at sources dot redhat dot com
- Date: Wed, 11 Feb 2004 01:18:19 +0000
- Subject: Re: RAM disk
- References: <20040130144930.17530.qmail@inbox.net>
asif wrote:
Hi ,
I would like to have RAM file system on my target.I want to create it
dynamically for various reasons.am trying to use mount.but i couldn't
succeed.can any one give info on this as to how to proceed.
Which aspect is created dynamically? ramfs ordinarily just allocates memory
itself out of the heap, although the CDL settings can change that.
Have you seen the test in fs/ram/VERSION/tests/fileio1.c? That has an
example of invoking mount if that helps.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
Visit us at Embedded World 2004, Nürnberg, Germany, 17-19 Feb, Stand 12-449
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine