Say I do something like dd if=file of=/dev/sdc (simplified for illustration), is this buffered? Can I sync it like I would any other filesystem write, or do I need to do something else to make sure the write is persistent?
Asked
Active
Viewed 154 times
0
Daffy
- 375
- 2
- 10
-
I usually do the `sync`, and I think that is enough. – nobody Sep 24 '21 at 05:28
-
Plan ahead and [use `conv=fsync`](https://unix.stackexchange.com/a/501437/108618) if your `dd` supports it. – Kamil Maciorowski Sep 24 '21 at 06:00