Query Drives for IDE channels

Dave Gutteridge dave at tokyocomedy.com
Mon Jul 25 04:10:59 UTC 2005


How can I query my DVD and HD drives to see what IDE channel they are on?

I have 3 DVD/CD ROM drives and 1 HD. If I look up the DMA settings in 
Windows, they are listed as "Primary IDE Channel, Device 0" and "Primary 
IDE Channel, Device 1", "Secondary IDE Channel, Device 1", and 
"Secondary IDE Channel, Device 1"
However, I can't tell which drive is connected to which IDE channel. At 
least not without opening up the box and looking directly at the 
hardware, which I'd rather not do for reasons of accessibility.

I'm trying to copy the DMA settings that I have in Windows to Linux, to 
see if I can get the performance to match. Currently the DVD drives are 
underperforming in Linux (as in, not working).

So, is there a command line query which will match up the name of the 
drives and their names in /dev/ to their IDE channels? I thought of 
hdparm, but if it says in its output what IDE channels the drives are 
on, I can't tell.

Thanks.

Dave




More information about the fedora-list mailing list