sarron2z@lemmy.zipdeleted by creator to Comic Strips@lemmy.world · 25 days agoProgresslemmy.zipexternal-linkmessage-square15linkfedilinkarrow-up1469arrow-down13
arrow-up1466arrow-down1external-linkProgresslemmy.zipsarron2z@lemmy.zipdeleted by creator to Comic Strips@lemmy.world · 25 days agomessage-square15linkfedilink
minus-squareBuffalox@lemmy.worldlinkfedilinkarrow-up24·25 days agoExcept if writing it to a stick, it’s not quite done, it’s just all been copied to the cache, and the actual writing to the stick is only half finished. 🤥
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up11·25 days agoUnless I’m mistaken, that’s what the “eject disk” command does—just flushes the buffers to the drive and unmounts.
minus-squareBuffalox@lemmy.worldlinkfedilinkarrow-up13·25 days ago just flushes the buffers to the drive and unmounts. Which can take several minutes.
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up2·25 days agoThat’s why it’s better to have tiny buffers.
minus-squareHereIAm@lemmy.worldlinkfedilinkarrow-up2·25 days agoThat is subjective. Tiny will also mean slower. For stable systems large buffers can be an acceptable risk.
minus-squaretetris11@feddit.uklinkfedilinkEnglisharrow-up5·25 days agoYeah file dialog estimates got a lot better once the buffer size and sync flag was invented. dd if=large-ass_file.txt \ of=/mnt/usb1/large_ass-file.txt \ status=progress bs=30M oflag=sync
minus-squareBuffalox@lemmy.worldlinkfedilinkarrow-up3·25 days agoI’m not that sophisticated, I start the copy in a filemanager, and then I open a terminal and use sync to see when it’s actually finished. 😋
Except if writing it to a stick, it’s not quite done, it’s just all been copied to the cache, and the actual writing to the stick is only half finished. 🤥
Unless I’m mistaken, that’s what the “eject disk” command does—just flushes the buffers to the drive and unmounts.
Which can take several minutes.
Oh yah
That’s why it’s better to have tiny buffers.
That is subjective. Tiny will also mean slower. For stable systems large buffers can be an acceptable risk.
Yeah file dialog estimates got a lot better once the buffer size and
syncflag was invented.dd if=large-ass_file.txt \ of=/mnt/usb1/large_ass-file.txt \ status=progress bs=30M oflag=syncI’m not that sophisticated, I start the copy in a filemanager, and then I open a terminal and use sync to see when it’s actually finished. 😋