RE: How to add/drop SCSI drives from within the driver?

From: James Bottomley
Date: Wed Dec 08 2004 - 20:12:17 EST

On Wed, 2004-12-08 at 12:56 -0500, Bagalkote, Sreenivas wrote:
> >The real way I'd like to handle this is via hotplug. The
> >hotplug event would transmit the HCTL in the environment.
> >Whether the drive actually gets incorporated into the system
> >and where is user policy, so it's appropriate that it should
> >be in userland.
> James, it is the application that is adding the drive. So it is not a
> hotplug
> event for the driver.

Then perhaps I don't understand what the issue is. If the application
is adding the drive, then surely it would know the numbers. If not,
then the driver must communicate this back, and that's what the hotplug
would be about.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at