this post was submitted on 15 Mar 2025
211 points (98.6% liked)

Linux

51909 readers
1428 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

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
[–] [email protected] 1 points 1 day ago* (last edited 1 day ago) (1 children)

You can use sync in terminal. But it's tricky because it sometimes returns even when the writing isn't finished.
My method is to use sync multiple time, if it returns immediately 2 times it should be clear,
Only then do i dismount the stick, because I don't like to dismount a device with pending operations. But when the dismount says the stick is ready to be removed, you should be clear.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

exactly. thats unnecessarily complicated for someone on a rush because of something that should be a functional progress bar.

[–] [email protected] 2 points 1 day ago

What annoys me is that this was an issue as far back as the early 90's. On DOS and Windows 3.11. It's such an annoyance that I don't get how this problem still exist?!
If the unmount function can see if write is finished, a file copy function should obviously be able to see it'¨s own copy state.