<div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div><br></div><div>There is some incomplete documentation here, <a href="https://docs.rtems.org/branches/master/filesystem/in-memory.html">https://docs.rtems.org/branches/master/filesystem/in-memory.html</a> and the imfs.h header has some helpful comments.</div><div><br></div><div>I guess its some combination of.<br></div><div><br></div><div>IMFS_initialize<br></div><div>IMFS_mount<br></div><div><br></div><div>but i have also seen code that does,..</div><div><div><br></div><div>mount_and_make_target_path(NULL, mnt, RTEMS_FILESYSTEM_TYPE_IMFS, RTEMS_FILESYSTEM_READ_WRITE, &mount_data);</div></div><div><br></div><div>Is there a clear example anywhere ?</div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div><br>regards</div><div>---</div><div>Matthew J Fletcher</div><br></div>
</div></div>