Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a tool for Ubuntu that will detect whether I have a SATA or a PATA hard drive interface, even if there's no hard drive inserted?

share|improve this question
    
Drive bays usually don't have an interface. Are you talking about a backplane? –  Ignacio Vazquez-Abrams May 18 '10 at 20:21
    
I edited it up to make a little more sense (hopefully). ;) –  techie007 May 18 '10 at 20:33
add comment

3 Answers

up vote 3 down vote accepted
sudo lshw -C storage

should display all storage controllers you have

share|improve this answer
add comment

mount displays what block device stores the filesystem.

PATA harddisks end up in /dev/hd* SATA harddisks end up in /dev/sd*

If you do something fancy with RAID it might be different.

share|improve this answer
    
PATA hasn't been hdX since the introduction of libata. –  Ignacio Vazquez-Abrams May 19 '10 at 1:58
add comment

lspci will list what PCI/AGP/PCI Express devices your system has. One of them is bound to be a storage controller.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.