This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

The “Sync” command run in AM335x

My system using AM335X with the Linux running inside. 

During my application, I need to write the data to the SD card with the command: echo "string" > /var/conf/1.ini, then send the command "sync" , then i cat this file with the command: cat /var/conf/1,ini, at last power off the system directly.

my question is : 

1) Will the 1.ini file have the possibility to be corrupted if send the cat command after sync command?

2) I cat the file after sync command, then i power off the system directly, the 1.ini file have the possibility to be corrupted?