1

I want to get the location in /dev of a USB device connected to my machine.

Does anyone know how?

Zanna
  • 72,312
joseto dominguez
  • 21
  • 1
  • 1
  • 6

1 Answers1

4

If you want to known the drive name in the /dev/ folder, I normally

  • disconnect USB
  • in a terminal, type dmesg -w
  • insert USB

And the kernel will show some messages including the name of your device. Other options are

lsblk
sudo blkid
sudo fdisk -l

And you may want to check this to mount it. How to access a usb flash drive from the terminal?

Katu
  • 3,663