I have USB device, which is actually identified as serial device by Ubuntu 10.04. How can I find its full path?
ls -la /dev/
shows a lot of devices. How to choose correct one?
I have USB device, which is actually identified as serial device by Ubuntu 10.04. How can I find its full path?
ls -la /dev/
shows a lot of devices. How to choose correct one?
From a Terminal prompt:
You should have a screen similiar to the one attached which should give you the mount point of the USB device.
Probably the simplest thing to do, but not always simple to interpret, is to run
dmesg
after inserting the device.For a flash memory pendrive you can find something like the following
where it is simple to see that two partition
/dev/sdb1
and/dev/sdb2
are on the drive.For a serial device you should find something talking about
ttyS0
or similar, corresponding to/dev/ttyS0
.For serial devices I tend to look in
/dev/serial/by-id
. For disks I use/dev/disk/by-label
. If you usels -l
on those they'll show you where they're linked to.You can find all information related to a device from the built-in disk utility available in Ubuntu (called Disks in Ubuntu 13.04 and newer versions.).