When a transferring files in nemo, it should, by default, "complete" at 99% and then start immediately syncing files. #1622
Replies: 2 comments 5 replies
|
writing many messages about the same thing and opening multiple threads is not good. I think a reliable end-to-end time estimate (from "copy started" to "physically written to the platter/NAND") is very hard, maybe not realistically achievable, and it's worth laying out why. There are two caches stacked on top of each other, plus a hardware reliability problem underneath both:
Given all that, I'd say a precise progress/time estimate for "fully safe to remove" isn't realistic across the range of hardware people actually use. EDIT: Quick summary on existing mitigations, for reference: Windows: since 10 1809, "Quick removal" is the default for USB flash drives, disabling write caching so writes go straight to the disk. This is a device-level write-cache policy (ATA/USB), toggleable per device. (in practice this is not always effective, see point 5 above) So both OSes already mitigate this at the software level, on the filesystem/device layer most exposed to the risk. Neither is a full guarantee, for the firmware-reliability reasons discussed above. |
|
It's worth remembering, as well, that this caching was devised as a strategy to mitigate people's impatience with I/O operations that tied up the entire PC while they were happening. Allowing disk I/O to continue in the background while the user proceeded with other tasks was a great benefit, when it was introduced. Having experienced the old days, I consider the current situation to be a vast improvement, even at the cost of having to wait to unmount/eject safely. I sympathize with people who have no memory of those days, since they have nothing to which to compare the current situation. I can't help feeling, however, that this is more of an education problem than a technical one. The problem that needs addressing is that, when a USB is unplugged prematurely, it is already too late to issue a warning. Short of finding some way to anticipate the user's intent, Michael Webster's idea of a persistent on-screen warning would seem to mitigate this. |
Uh oh!
There was an error while loading. Please reload this page.
I made a new discussion since I had a confusing title on my previous one. I had since changed it but still feel like no one was actually getting what I was trying to suggest.
The behavior I'm suggesting is as I stated in the title. Yes, it may be slightly annoying to be "stuck" at 99%, but your average user isn't going to know Linux works differently. They'll just see the file transfer progress disappear at 100%, see the files on the drive with nothing else going on, and assume it's done before pulling the drive and losing data, only learning after that they need to eject drives properly. Even if the drive had a light, Linux seemingly waits for you to eject it to write the data.
It's in this moment many people may learn for the first time what ejecting a drive even is as they never had any problems just unplugging it on Windows and/or have always heard "you don't need to do that anymore". I feel like data loss prevention in this case is better, especially when the files being transferred are irreplaceable and they haven't been properly informed about backups.
All reactions