'How to force a disk write barrier with open(/dev/sda1, r+b)?
Suppose I open a block device using a standard open function in Python, say "open("/dev/sda1", "r+b")". How can I force a write barrier, meaning that I want a particular write to land on the platter AFTER all previous writes? Or do I have to fsync?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
