this post was submitted on 30 Nov 2024
209 points (96.4% liked)
Linux
48635 readers
1682 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If I have to list a single thing that most irritates me on Linux then it is easily copying files to a USB connected drive.
The progress bar passes 100% and I get notification the files were copied but they were in fact not copied yet, it still takes several more minutes until I can actually unplug the connected drive or I'll lose the files.
Hokei, so. Usb "packets" are 12 bytes or something, and it's not good for performance to stop the flow. The solution is, as always, to have a buffer. Problem is that some kernel geniuses decided that GIGABYTES is a good buffer size. This was all when spinning hdds were the standard and new fast usbs were comming, but still.
Oh, and for some reason the transfer bar sometimes works fine for me.
I run
udisksctl unmount -b /dev/sdX#
in the terminal. When it completes, it means the files have finished copying and the partition was unmounted.I'll give that a try next time I'll need to copy something, thanks
Our just run
sync
, which isn't as completely foolproof, but is easy.