4 Useful Way to Know Plugged USB Device Name in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

16 Responses

  1. Jim Mooney says:

    I still have no idea how to make sure by winchester external drive is the right one. I thought I had it and then formatted my main computer drive by mistake. That was a problem.

    • Aaron Kili says:

      @Jim

      You can always identify drives or partitions by their file system type, size as well mount points, however, taking some time to understand naming of storage media under /dev virtual file system will help you avoid such mistakes in the future.

  2. Daniel says:

    What I need is a name like /dev/somename for a device that is NOT a mass storage device. No luck yet.

    I did try lsusb, ls /dev/*, df -h, lsblk, sudo fdisk -l.

    These are all for mass storage devices like memory sticks, camera card readers or external HD

    Then I tried also usb-devices which lists other devices too, like mouse, printer etc, But it gives some bus number and some device number, no /dev name

    The reason is that I tried to install the “Samsung unified linux driver” which asks me for the device name of my printer. Unfortunately the names it proposes are crap since they do not exist on my machine !

    They propose /dev/mft4 up to /dev/mft11. None of these do exist…
    I let it do with /dev/mft4 with a bad presentiment.

    So finally the installation software affirmed that the driver has been successfully installed and when I click on “testprint” it says that the device can not be found. Of course…

    Still no solution in sight !

  3. Dan St-Andre says:

    Some of us use external USB-connected drives as system-wide storage. I, for one, would like to mount those file systems elsewhere than /media/{username}. Also, I’d like to use a standard name for some “media” drives instead of a changing label or UUID identifier.

    For example, the flash storage from my digital camera, I’d like to mount as “…/camera” regardless of the label/UUID.

    Consider an article that explains how to accomplish that.

  4. Joe Beach says:

    What about USB devices that are not for data storage? Cameras, humidity sensors, A-D converters, all kinds of tools for monitoring the physical world.

    • Aaron Kili says:

      @Joe

      Very good question, as of now, we can not tell how that can be done, since we have not dealt with the devices you are talking about. However, we will definitely look for more information concerning this question and find relevant ways or command line tools for listing or identifying such(Cameras, humidity sensors, A-D converters, all kinds of tools for monitoring the physical world) USB devices.

      Thanks for getting in touch.

  5. Ren Yuntao says:

    We can also use lsblk and parted.

  6. Bruce Lytle says:

    This commands listed will only deal with block devices.
    For simplicity and to find ALL USB devices try “lsusb -v”. This will tell you everything you need to know about any USB device.

    • Aaron Kili says:

      @Bruce

      lsusb -v is a good command, however, it can work well for advanced users. Newbies may not find its output easy to understand, but it offers more in-depth information about USB devices. Above all. thanks for informing us, we will add it to the list above.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.