Re:Testing an SD Card's true capacity
by lima on Tuesday July 11, 2017 @08:44AM
(#14743630)
About the sync: you can bypass the fs cache by specifying iflag=direct/oflag=direct.
[ Parent
| on HN ]
In fact, I'm quite surprised that it worked at all without direct. Even if sync writes the cached data to disk, it isn't exactly guaranteed that the following read will read them back instead of just returning a copy from the cache.