• REDACTED@infosec.pub
    link
    fedilink
    arrow-up
    2
    ·
    1 day 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
      ·
      1 day 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
      ·
      1 day 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.

  • QuadratureSurfer@piefed.zip
    link
    fedilink
    English
    arrow-up
    34
    ·
    2 days ago

    I wish the tool from Windows PowerToys for figuring out what’s holding on to the drive came standard with the OS.

    • Havatra@lemmy.zip
      link
      fedilink
      English
      arrow-up
      24
      ·
      2 days ago

      It definitely should! The message of “close any programs that MIGHT be using this device” is so unhelpful, and it’s been like this since at least Windows 2000, I believe.

    • AliOski@feddit.nl
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      Wait what? PowerToys has something like that? What is it called? Since when does that exist?

      • QuadratureSurfer@piefed.zip
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 days ago

        You need to enable “File Locksmith” in PowerToys, then right click on the drive and select “What’s using this file?”.

        Edit: I know it’s existed for a few years at least, I’m not sure exactly when it was implemented.

        • AliOski@feddit.nl
          link
          fedilink
          arrow-up
          5
          ·
          2 days ago

          Aha interesting… I was aware of its existence but I always assumed it had something to do with encryption due to its name…

    • Rose@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      8
      ·
      3 days ago

      Ah ha ha! You card! I have already played it! …oh shit, I’ve not yet played the Return to Ostagar DLC.

  • AliOski@feddit.nl
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    2 days ago

    It is always those damn background processes… especially EA Games has a very annoying background process that takes more than a damn minute after closing the game to finally quit and let you eject your external disk.

  • RogueBanana@lemmy.zip
    link
    fedilink
    English
    arrow-up
    10
    ·
    3 days ago

    Do not let the clanker tell you what you do. Pull that shit out, there definitely won’t be any problems and you will not regret it.

    • dan@upvote.au
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      It’s usually fine if you were only reading files from the drive. If you were writing files, they may still be in the cache and not fully written to the drive yet, so pulling out the drive can corrupt the files.

  • ArfArfWoof@europe.pub
    link
    fedilink
    arrow-up
    4
    ·
    2 days ago

    if it’s using my external drive without my knowledge, it’s not important enough. let that mf burn

    • zerofk@lemmy.zip
      link
      fedilink
      arrow-up
      12
      ·
      2 days ago

      The reason for the warning is that it might corrupt the external drive’s file system. It’s not so much a threat to the application.