Question about file size 0 after filesystem recovery
hot486two at gmail.com
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
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users