External RAM filesystem

Alan Cudmore Alan.P.Cudmore at nasa.gov
Tue Nov 20 14:22:18 UTC 2007

Hi Joel,

I should probably join in the conversation too, as a persistent RAM  
disk will be important in our upcoming RTEMS applications.

I like this idea for the IMFS.
But a question: for our vxWorks based systems, we create a RAM disk  
in an area of RAM that is preserved during OS restarts. We can then  
verify/remount the disk after vxWorks restarts. Would this be a  
possibility for the IMFS with a custom pool/malloc/free ?



On Nov 20, 2007, at 9:05 AM, Joel Sherrill wrote:

> I'm late in the discussion but I proposed a couple of years
> ago adding a configuration item for the IMFS.  If you defined
> a structure with three callback functions, you could change
> where memory was allocated in the IMFS.
> + initialize pool  (default NULL)
> + allocate memory (default malloc)
> + free memory  (default free)
> Change the IMFS code to use the provided functions and
> it can easily be switched.
> --joel

More information about the users mailing list