Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 2
    I believe the author of the question is trying to ask how to ensure that the cache memory of the USB attached drive is itself written to the the drive after unmounting but before pulling power; this answer doesn't address that question. Commented Jul 14, 2020 at 18:38
  • 1
    I'd assume issuing command sync should solve such problems.. Commented Dec 30, 2021 at 20:36
  • The problem is that sync cannot force the hardware to flush the cache. As explained in the answer by @msimic some specs allow unspecified time until the data is in permanent storage even after the device has reported OK after sync command. I would consider such storage drive firmware as broken but those are the specs that the OS has to use. Commented Feb 12 at 15:16