Originally Posted by kb2tfa
When I plug in a USB, is there an easy way to identify it in the dev directory? I want to play with fdisk and I don't want to damage something.
Easiest is to look in /dev/disk/by-id. USB devices show up as /dev/disk/by-id/usb-xxxxxxxxx.
The file name is composed of the vendor/model/serial number of the device plugged in, and the file itself
is a symbolic link to the /dev/sd<whatever> that got assigned when it was plugged in.