IMFS usage

Matthew J Fletcher amimjf at gmail.com
Thu May 17 14:51:32 UTC 2018


Hi,

I've not been able to find a clear guide on how to setup/use an IMFS
filesystem. I wish to mount this to use a separate volatile memory area,
not as a root filesystem.


There is some incomplete documentation here,
https://docs.rtems.org/branches/master/filesystem/in-memory.html and the
imfs.h header has some helpful comments.

I guess its some combination of.

IMFS_initialize
IMFS_mount

but i have also seen code that does,..

mount_and_make_target_path(NULL, mnt, RTEMS_FILESYSTEM_TYPE_IMFS,
RTEMS_FILESYSTEM_READ_WRITE, &mount_data);

Is there a clear example anywhere ?


-- 

regards
---
Matthew J Fletcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20180517/ac6abbd5/attachment.html>


More information about the users mailing list