[8090] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

determining 'busy' status, and removing devices

daemon@ATHENA.MIT.EDU (Matthew Dharm)
Fri Feb 11 20:32:03 2000

Date:   Fri, 11 Feb 2000 15:08:53 -0800 (PST)
From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: The Linux SCSI list <linux-scsi@vger.rutgers.edu>
Message-ID: <Pine.LNX.4.10.10002111506310.10667-100000@ziggy.one-eyed-alien.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

I'm working on USB Mass Storage devices (which appears to the system as a
SCSI host), and I've run across an interesting two questions:

(o) How do I determine if a device is 'busy'?  That is, if it's mounted or
    otherwise being accessed?
(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?

Any insight would be greatly appreciated.

Matt Dharm

-- 
Matthew Dharm                              Home: mdharm@one-eyed-alien.net 
Engineer, Qualcomm, Inc.                         Work: mdharm@qualcomm.com

Dudes! May the Open Source be with you.
					-- Eric S. Raymond
User Friendly, 12/3/1998


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post