[sclug] How to find which /dev/xxx a usb device is on?

Will Dickson wrd at glaurung.demon.co.uk
Sun Jun 22 16:10:14 UTC 2008


John Stumbles wrote:
> Ed Davies wrote:
>> John Stumbles wrote:
>>> OK, I've heard of UUIDs, and cryptsetup seems to have too. How do I 
>>> find out the device UUID?
>>
>> This works on Ubuntu:
>>
>>> edavies at bill:~$ ls -l /dev/disk/by-uuid
> 
> sorry, I meant to mention I'd tried that and there's nothing in there 
> for my USB HDD

IIRC you have to assign the UUID when you create the filesys - it 
doesn't happen by default. If this is true, perhaps your USB HDD doesn't 
have a UUID?

Will.




More information about the Sclug mailing list