• REDACTED@infosec.pub
    link
    fedilink
    arrow-up
    3
    ·
    6 days ago

    I thought windows stopped doing the cache thing with some windows 7 updates, making the “unsafe unplug” kind of a myth.

    macOS and Linux: These systems generally still use write caching on USB drives by default, so ejecting prevents incomplete writes.

    • Rose@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      Funny thing, I’ve specifically enabled direct writes on all of these USB hard drives with the Windows drive tool thing. They all behave well.

      Except this HDD that I use for Steam games. The external HDD one that I use the most. (Murphy’s Law I guess.) I have specified it should write stuff directly. Most of times time I eject the drive, it gives the above error anyway and I have no idea which program is blocking it. (Last I tried one program that was supposed to be able to tell this, it said it was in use by Dropbox, which is stupid, because I explicitly told Dropbox not to screw with USB drives, and by far, it doesn’t.) And the infuriating thing is that sometimes it just ejects okay and I have no idea why.

    • Honytawk@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 days ago

      It is. I’ve tried to break it in the past, but it is damn hard to do.

      Even unplugging while it is actively writing just causes a single corrupted file. You can deleted it and start over.

      But I do believe it depends on how it is formatted. There would most likely be a bigger problem if it was FAT32.

      Other OSes like Mac do still cache and it can mess up everything if not ejected properly.