• Buffalox@lemmy.world
    link
    fedilink
    arrow-up
    24
    ·
    25 days ago

    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. 🤥

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      25 days ago

      Unless I’m mistaken, that’s what the “eject disk” command does—just flushes the buffers to the drive and unmounts.

    • tetris11@feddit.uk
      link
      fedilink
      English
      arrow-up
      5
      ·
      25 days ago

      Yeah 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
      
      • Buffalox@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        25 days ago

        I’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. 😋