this post was submitted on 31 Oct 2025
779 points (98.3% liked)

Programmer Humor

27193 readers
1046 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

I don't fucking know why I can't eject USB hard drives. I installed the SysInternals apps, and best they can tell me is that Dropbox is fucking with the drives. I explicitly told Dropbox to not fuck with USB drives. I don't know who's lying, I just want whoever is fucking with the drives to stop fucking with the drives, OK??? OK.

you are viewing a single comment's thread
view the rest of the comments
[–] Rentlar@lemmy.ca 12 points 4 days ago (2 children)

Many files copied to an external disk are cached, and not written immediately unless you run the "sync" command.

So when you press the "eject" icon, on most frontends a notification will tell you not to unplug it right away, once the write is complete it will send a "it is safe to remove the drive" message. This can take a couple minutes if you are writing a big file to a slow drive.

Thats bad practice though, external drives in Linux should be mounted with no write caching just like they are in windows.

[–] halcyoncmdr@lemmy.world 7 points 4 days ago

By default Windows disables file caching on external USB drives. It should be writing those files directly. That doesn't prevent a program from locking a file or folder that it is using though.