How do i make pseudo-driver support hot plugin?

How do i make pseudo-driver support hot plugin?

[ Follow Ups ] [ Post Followups ] [ FAQ ]
[ Back to Messages ]

Posted by kiran on August 27, 2001 at 19:50:47:

I have written a pseudo driver which intercepts writes to the disk.

My problem is -
when i do drvconfig on is triggering SD(SCSI disk driver) to create device special files.
if SD has already created device special files for disk1, then when i add another disk(daisy chain)....did drvconfig....which again triggers SD to create device special files for this new disk. This is absolutely perfect.
But drvconfig is not triggering my pseudo driver to create new instances for new disks.

drvconfig is triggering my pseudo driver only if it is not added by add_drv i.e. pseudo driver is not installed. Once my driver is installed, then drvconfig is not at all triggering pseudo driver but triggers SD.

I need to fix this customer requirement of adding new disks when pseudo driver is already pseudo driver should see dynamically added new disks.

One more there a way to trigger kernel to call pseudo drivers attach entry point? this will also help me to solve my problem.

Please help me and let me know ASAP.


Follow Ups:

Post a Followup

Please note:
  • Messages must be on the topic of this forum!
  • No posting of requests for cracks, codes, serials, or warez!
  • No posting of illegal software or links to such sites!
  • No use of profanity or inappropriate or offensive language!
  • Spamming is not allowed!
  • We track the IP addresses of forum abusers!
  • Abuse of this forum will be reported to your ISP!
E-Mail (optional):
please note: your e-mail address will be visible in your message.



Optional Link URL:
Link Title:
Optional Image URL: