Question about file size 0 after filesystem recovery

jaeho jo hot486two at
Tue Jan 5 06:48:08 UTC 2021


I am testing filesystem recovery and I have a question.

If the reset is not a power-on reset, my application attempts to restore
the filesystem.

If the file was closed prior to reset, the file was restored.

If a reset occurs while a file is open, the file was not recovered after
the reset. The file was created, but its size is 0. Is this the
intended behavior of RTEMS?

I tested the OS version using RTEMS4.11.1 and 5.1, and the file system
using RFS and dosFS. The results were all the same. A file of size 0 has
been created.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list