Identify HDD ID?

Associate
Joined
12 Sep 2006
Posts
1,379
Location
Tayside
This isn't strictly a Linux question, but I think this is a good place to ask. I'm trying to query drive info usinh HDparm. I've no problems using a CLI, but I am having difficulty ID'ing my drives, i.e. I need to specify hda, sda etc.

It's specifically a USB2.0 drive I'm trying to query. Without trying all the combinations how can I view what each drive is called? I'm running XP :o

Thanks.
 
fdisk -l
blkid

Edit - Hang on - you're using XP? So from within XP you want to know what your USB device would be named under Linux?
 
So, presuming your using HDParm on Windows - I'd be highly surprised if the command doesn't have a switch to print current devices... ?

alternatively, take a shot in the dark and do:

hdparm -l /dev/sda
hdparm -l /dev/sdb

etc etc.
 
Hm, I'll check the man pages again but I also was surprised there was no list function- I couldn't see one.
I had a shot doing hda-hdd and sda-sdn but no joy (well, my boot drive did appear). I suspect the tool doesn't work over USB.....

I'm goint o skip HDparm and try the Samsung specific tool. Thanks for your help FirebarUK.
 
Back
Top Bottom