I have a weired scenario on a Production unit. There is a SD card on the unit. I can create a file in the SD card and it shows that the newly created file exists there. I can do read/write operation on that file also. But when the unit is rebooted, this newly created file does not exists anymore. During unit boot-up, there are few SD card checks done by which it appears that there were some SD card issue and it got recovered.
Is there any way I can check whether the newly created file is saved or not? I need to make sure that the new file actually saved and it exists there even after the unit reboot.
[Edited] Is this SD card is really Bad? I have also tried to delete an old-existing file and do a unmount/mount of the SD card. But deleted file again appeared after remount.