From the man pages of mount command

sync All I/O to the filesystem should be done synchronously. In the case of media with a limited number of write cycles (e.g. some flash drives), sync may cause life-cycle shortening.

Does this mean that when providing this option in /etc/fstab (given the following definition of sync command)

$ sync --help
Usage: sync [OPTION] [FILE]...
Synchronize cached writes to persistent storage

...caching of contents (i.e. of memory pages created from the contents of the particular device) is prohibited?


Read caching is not prohibited. Write caching is prohibited. In other words, writes to the device have to be done immediately, so there is no risk of data loss.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.