Results 1 to 4 of 4

Thread: signal light of USB thumb drive

Hybrid View

  1. #1
    Join Date
    Aug 2024
    Beans
    17

    signal light of USB thumb drive

    Some USB thumb drive has signal light, which will flash when the USB thumb drive is being accessed, is my mind right?
    Last edited by mangada; October 10th, 2024 at 11:33 AM.

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: signal light of USB thumb drive

    What do you mean by 'right in most cases'?

    I think it flashes when read from or written to.

    But generally, both for USB drives with and without signal light, all partitions on it should be unmounted before you unplug it. Run
    Code:
    sudo umount /dev/sdx*
    where x is the drive letter (for example a or b) in a terminal window and wait for the prompt to appear.

    You can also click on the eject symbol if you use a graphical tool (for example Files) and wait for the eject symbol to disappear.

    This way you can be sure that all write operations have finished (that all buffers are flushed).

  3. #3
    Join Date
    Aug 2024
    Beans
    17

    Re: signal light of USB thumb drive

    During boot, signal light of USB thumb drive flashes more than 5 second?

  4. #4
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: signal light of USB thumb drive

    Quote Originally Posted by mangada View Post
    Some USB thumb drive has signal light, which will flash when the USB thumb drive is being accessed, is my mind right?
    I'm not a qualified psychologist, so I can't say anything about your mind, but some USB flash storage does have an LED that flashes when active. I have a few like that, but most don't bother. It is a more expensive to manufacture flash storage with an LED than not to do that.

    Under linux, as sudodus points out, we can't trust any LED on flash storage to provide a clue as to when it is safe to remove the device. It cannot be mounted or file system corruption is likely. The solution is to use the "eject" button in a GUI program or the umount or fusermount -u commands to un-mount the file system. Which command should be used depends on how the file system was mounted.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •