You are not logged in.
when I insert a USB-drive, is there a way to learn the device and mountable partitions on it?
something like
dmesg | tail only shows the device (/dev/sdb) which leave you guessing at the partition.
Offline
{f,g}disk -lOffline
cat /proc/partitionsWorks on many Linux systems and uses only cat.
Offline
lsblkOffline
blkidOffline