How to Find the Device Associated with a Mounted USB Drive in Linux

How do you find the device (e.g. /dev/*) for a mounted USB drive in Linux (Ubuntu 10.04)? I'm trying to format a Cruzer USB flash drive, and when I plug it in, the icon for the mounted filesystem appears on my desktop. However, when I open GParted, it doesn't list the filesystem as an option to partition.

The recommendations I've found through Google include monitoring tail -f /var/log/messages, which they claim should list the device name when the drive is mounted, but this never happens for me. I've also read that the USB drive would usually be linked to /dev/sdb, but this appears as a broken link on my filesystem. How else would I find the device?


You can look at mount, dmesg, /proc/partitions... There are many ways to find it.


df gives information regarding mounted disks and their respective device locations and FS paths. You can also run cat /etc/fstab file to see if the USB drive is listed.