> (o) How do I determine if a device is 'busy'? That is, if it's mounted or
> otherwise being accessed?
A device or a controller. Devices you need to check by their type but
the scsi code keeps usage counts
rscsi_device[target].access_count
etc
> (o) How well does the code to handle adding and removing SCSI devices
> work? I know it's possible to add hosts easily (which is the current
> strategy), but what about removing hosts? Removing devices? What are
> the constraints on these operations?
Removing them is trickier but is supported. You can either make them
'unavailable' by setting rscsi_disks[target].device = 1 or doing a bus scan
from a user context. The bus rescan via /proc is supported by several
controllers by user operations so should work by kernel triggering
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]