for ide devices
have a look in /proc/ide directory
for each ide device connected there is a directory created(hda,hdb...)
the file named media in each of those directory tells you
the type of device it is (disk, cdrom)
other files in the directory gives other info on the device
you should be able to find what you want in there
Last edited by kolargol; 09-28-2003 at 03:01 PM.
|