Please make it more clear that properly ejecting storage mediums is very important on Linux #1565
Replies: 8 comments 11 replies
|
You may come and support my proposal in https://github.com/orgs/linuxmint/discussions/429 |
|
The main problem lies with users who don't safely remove devices as they should. In over 20 years, I've seen far too many problems because of this. And the fact that they're still primarily using FAT as FS, unfortunately without journaling, means they have many serious problems. Regarding the cache usage and the "delay" in effective writing to disk, it's not a Linux problem; it's also present in Windows. |
|
Yes fantu really you are correct |
|
Actually, the advice to safely eject USB sticks before removing them from the port has been standard advice for decades. It appears, however, that Microsoft got tired of dealing with Windows users who pull out the sticks prematurely and made some sort of change, or at least this is what I understand from a thread in the forums about this topic. But essentially the problem is one of educating users that Linux Mint operates differently. The solution I would prefer is for a system modal message to the effect of "DON'T PULL OUT THE USB STICK JUST YET" to be displayed, since since such a message will prevent other uses of the machine until it goes away. The message should remain on screen until the buffer is fully written to the disk. Then it could disappear and restore normal functioning. If that won't get the message through, I'm not sure what else will help, apart from losing essential data a few times until the lesson is learned. |
|
@Fantu I was being semi-sarcastic in my earlier post, but the underlying point is valid. Users need to be told, in unmistakable fashion, before they attempt to remove the stick that there may be problems resulting from premature removal. I loathe system modal messages in most cases, but I don't see any other way to capture the user's attention before the damage is done. Do you have a better solution? And I agree with Michael that annoying system behavior is better than data loss. Although perhaps the message could contain a button reading, "I understand and promise to behave. Any data loss is now on me." (What do you think, @mtwebster ?) |
|
This sounds like a good way of approaching it. I'm sure we'll still see complaints on the forums from people who ignore the notification, but that's on them, honestly. One of the corollaries to Murphy's Law is, "There's no system so fool-proof that a bigger fool can't come along and break it." |
|
This is a problem that is as old as the existence of users. Back in the floppy disk days, we had to train users to wait until the drive light finished flashing before removing the floppy from the drive. And at least they could hear the drive spinning. Thumb drives present essentially the same problem, except the risk of physical damage to the hardware is fortunately no longer an issue. It's unfortunate that not all thumb drives have an LED to indicate that I/O is happening. That would greatly simplify the user-education part of the problem. |
|
I opened linuxmint/cinnamon#13899: it warns the user when a device is unplugged while it's still mounted, and stays silent when the device was ejected, safely removed or simply unmounted. For anyone who wants to test Cinnamon 6.7 in development (latest tag) on Mint 23: there's no ISO yet FWIK, but I saw the Install Seems enough for testing until an ISO or an easier way shows up. |
Uh oh!
There was an error while loading. Please reload this page.
When us new users come from Windows, we assume once the file transfer dialog closes, the OS is done with the drive and therefore, it's safe to just remove the drive without thinking too much about it. You can even remove the drive during a transfer on Windows and more often than not, it'll be fine (just missing files that weren't moved).
On Linux-based systems, your data is moved to the RAM first. The dialog implies otherwise, but it's understandable why it's done this way. I'm now aware of the fact that this is just how Linux works, but there's no way us new users would know that until it's too late (and possibly many more times due to habit), especially if the look of Mint is meant to accommodate Windows users ("if it looks like Windows, it must function like Windows").
A possible solution for this would be to "sync" data immediately after transfer by default (with a GUI option to disable) and show this in the file transfer dialog by changing the finished progress bar to the indeterminate "bouncing" animation with something like "Almost done. Important: do not remove the drive".
Rendered example:
0001-0858.mp4
This behavior would also apply to ejecting the drive, replacing the writing data notification (another rendered example):
0001-0837.mp4
This would sufficiently replace nemo issue #2172 (and would be much more obvious), but that issue is about 6 years old at this point so I'm not sure how much hope I have for something like this, but I feel this is pretty important.
All reactions