find USB in dev
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.
|
In a terminal, use lsblk. That's the quickest way. You can also use fdisk -l or blkid as root, for more detailed information.
|
Code:
lsblk --f |
that worked great thank you
|
Quote:
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. |
Thank you
|
All times are GMT -5. The time now is 04:31 PM. |