• @WereCat
    link
    212 hours ago

    If I have to list a single thing that most irritates me on Linux then it is easily copying files to a USB connected drive.

    The progress bar passes 100% and I get notification the files were copied but they were in fact not copied yet, it still takes several more minutes until I can actually unplug the connected drive or I’ll lose the files.

    • Imnebuddy
      link
      fedilink
      English
      2
      edit-2
      11 hours ago

      I run udisksctl unmount -b /dev/sdX# in the terminal. When it completes, it means the files have finished copying and the partition was unmounted.

      • @WereCat
        link
        16 hours ago

        I’ll give that a try next time I’ll need to copy something, thanks

    • @[email protected]
      link
      fedilink
      211 hours ago

      Hokei, so. Usb “packets” are 12 bytes or something, and it’s not good for performance to stop the flow. The solution is, as always, to have a buffer. Problem is that some kernel geniuses decided that GIGABYTES is a good buffer size. This was all when spinning hdds were the standard and new fast usbs were comming, but still.

      Oh, and for some reason the transfer bar sometimes works fine for me.