• Buffalox@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 day ago

    i bet MANY people are left with halfway stuff written on their usbs after being in a rush and removing it insecurely on linux after the transfer is “done”.

    AFAIK it can actually destroy the USB if it’s removed while being written.

      • Buffalox@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        13 hours ago

        You can use sync in terminal. But it’s tricky because it sometimes returns even when the writing isn’t finished.
        My method is to use sync multiple time, if it returns immediately 2 times it should be clear,
        Only then do i dismount the stick, because I don’t like to dismount a device with pending operations. But when the dismount says the stick is ready to be removed, you should be clear.

        • umbrella@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 hours ago

          exactly. thats unnecessarily complicated for someone on a rush because of something that should be a functional progress bar.

          • Buffalox@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            3 hours ago

            What annoys me is that this was an issue as far back as the early 90’s. On DOS and Windows 3.11. It’s such an annoyance that I don’t get how this problem still exist?!
            If the unmount function can see if write is finished, a file copy function should obviously be able to see it’¨s own copy state.