Detecting Harddisks

2000-03-23 Thread Mishra . R
Title: Detecting Harddisks Hi all, Currently I am working on a Raid driver. And my driver should be able to Identify the disk which are already there and the one added on the fly. can somebody  help me detacting the harddisk ( scsi /ide) on the fly? regards Rajesh misra.

Locking the devices

2000-03-22 Thread Mishra . R
Title: Locking the devices Hi all, I am making the raid driver, that passes calls to the disk drivers selected for the raid. The problem I am facing is that once I have opened the devices below no other program should be able to open the devices. So, how can I lock the devices in the raid?