814
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 31 Oct 2025
814 points (98.3% liked)
Programmer Humor
28398 readers
1946 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
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.
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.
Thats bad practice though, external drives in Linux should be mounted with no write caching just like they are in windows.