4 ms·
Sync writes have a place, if I'm copying a disk image to a flash drive I typically want to know it's done when dd finishes so I can yank the drive without worry
by snuxoll 10y ago
Sync writes have a place, if I'm copying a disk image to a flash drive I typically want to know it's done when dd finishes so I can yank the drive without worrying if the write cache has been flushed.
- mschuster91 10y agoAt least a couple years ago, it was said one should not rip out USB sticks without ejecting them before, because their controller might do invisible maintenance work and that might lead to data corruption...
- floatboth 10y agoHmm. Microsoft doesn't agree: https://i.imgur.com/JIZveQz.png https://i.imgur.com/JIZveQz.png "Disables write caching […] you can disconnect the device safely without [unmounting it]"
- dom0 10y agoBroadly speaking, flash GC/management journaling is the problem of the controller and is usually not the most broken part of it.
- deleted 10y ago[deleted]
- floatboth 10y ago$ sync; sync; sync :D