News for hackers. Stuff that matters.
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.
Re:Testing an SD Card's true capacity by qb45 on Tuesday July 11, 2017 @10:12AM (#14744312)
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.
Re:Testing an SD Card's true capacity by alecjw on Tuesday July 11, 2017 @12:44PM (#14745666)
Nice, thanks for the tip!