UFS is not persistant

hi, I am using Ql_FS_Check and check whether a file exists or not, when I reboot the mc60 open cpu it always return -41 which means QL_RET_ERR_FILENOTFOUND, after this stage, I am creating this file with exactly that same name (actually it is defined by a #define macro), and writing data to it successfully and read them later without any problem, so the file should be created and saved on UFS, but again, after restart there is not such a file on disk and error QL_RET_ERR_FILENOTFOUND is returned. I have no idea about this, can you help me please? thank you.

Dear ahmad98

I’m really sorry that I didn’t understand your current problem.

Please give us the details of the modules you are using. Thank you.