Die4Ever@retrolemmy.com to Linux@programming.devEnglish · 6 days agoKDE Fixes 15 Year Old Bug Over Inaccurate Notifications When Copying Files To USB Driveswww.phoronix.comexternal-linkmessage-square25fedilinkarrow-up1114file-text
arrow-up1114external-linkKDE Fixes 15 Year Old Bug Over Inaccurate Notifications When Copying Files To USB Driveswww.phoronix.comDie4Ever@retrolemmy.com to Linux@programming.devEnglish · 6 days agomessage-square25fedilinkfile-text
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up5·5 days agoI have hated “Safely Remove” from back when I was on Windows. Always did weird GUI stuff and does on this too. So I just use syncand when it properly finishes, I do safely remove.
minus-squareBjörn@swg-empire.delinkfedilinkEnglisharrow-up4·5 days agoI always assumed “safely remove” is just a umount which in turn does the sync before returning.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up1·3 days agoYes. I do too. But historically, the way it has indicated “working” in cases it takes more than a second, has been not very reliable. Specially on Ubuntu + GNOME back when I had to use it in the office.
minus-squareflameleaf@programming.devlinkfedilinkEnglisharrow-up2·5 days agoI type sync, then unmount/eject, then safely remove Can’t be too careful
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up0·3 days ago unmount/eject, then safely remove If you still have the safely remove option after running “unmount/eject”, I need to know what device you used.
minus-squareflameleaf@programming.devlinkfedilinkEnglisharrow-up1·2 days agoIt shows up for external HDDs and usb flash drives. I am using Xfce though, so probably not relevant to this bug. I was just commenting about my general workflow.
minus-squareShayeta@feddit.orglinkfedilinkEnglisharrow-up2·5 days agoSame, waiting for sync -f to finish would help most of the time.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up1·edit-23 days agoTIL, dd has the option conv=fsync that makes it wait until all writing is finished, before exiting. So you can just touch /path/to/new/filename and then dd ... of=/path/to/new/filename conv=fsync Of course, you would have to do this for each file, in case it is multiple
I have hated “Safely Remove” from back when I was on Windows.
Always did weird GUI stuff and does on this too.
So I just use
syncand when it properly finishes, I do safely remove.I always assumed “safely remove” is just a umount which in turn does the sync before returning.
Yes. I do too.
But historically, the way it has indicated “working” in cases it takes more than a second, has been not very reliable.
Specially on Ubuntu + GNOME back when I had to use it in the office.
I type
sync, then unmount/eject, then safely removeCan’t be too careful
If you still have the safely remove option after running “unmount/eject”, I need to know what device you used.
It shows up for external HDDs and usb flash drives.
I am using Xfce though, so probably not relevant to this bug. I was just commenting about my general workflow.
Same, waiting for sync -f to finish would help most of the time.
TIL,
ddhas the optionconv=fsyncthat makes it wait until all writing is finished, before exiting.So you can just
touch /path/to/new/filenameand thendd ... of=/path/to/new/filename conv=fsyncOf course, you would have to do this for each file, in case it is multiple