• detect USB write completion

    From faeychild@faeychild@nomail.afraid.org to alt.os.linux.mageia on Sun Jun 8 16:09:25 2025
    From Newsgroup: alt.os.linux.mageia



    My problem stems from video file writes to a USB stick
    The popup dialog says "copy complete" long before it has, and if my
    stick doesn't poses an indicator LED I can't tell if the copy has ended.
    Is there a process that monitors the buffering and actual completion?

    Regards
    --
    faeychild
    Running kde on 6.6.88-desktop-3.mga9 kernel.
    Mageia release 9 (Official) for x86_64

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From David W. Hodgins@dwhodgins@nomail.afraid.org to alt.os.linux.mageia on Sun Jun 8 12:54:17 2025
    From Newsgroup: alt.os.linux.mageia

    On Sun, 08 Jun 2025 02:09:25 -0400, faeychild <faeychild@nomail.afraid.org> wrote:
    My problem stems from video file writes to a USB stick
    The popup dialog says "copy complete" long before it has, and if my
    stick doesn't poses an indicator LED I can't tell if the copy has ended.
    Is there a process that monitors the buffering and actual completion?

    Use htop. Run it, press f6 to display the list of fields to sort by. Use the cursor up/down keys to
    highlight STATE, and press enter to sort the display by the state column.

    In the column labled S (short for state), see if there are any processes displaying a state of
    D (short for device wait). If there are, it isn't finished.

    Regards, Dave Hodgins
    --- Synchronet 3.21d-Linux NewsLink 1.2