Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261748AbVADRqO (ORCPT ); Tue, 4 Jan 2005 12:46:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261753AbVADRqH (ORCPT ); Tue, 4 Jan 2005 12:46:07 -0500 Received: from stat16.steeleye.com ([209.192.50.48]:40909 "EHLO hancock.sc.steeleye.com") by vger.kernel.org with ESMTP id S261726AbVADRpt (ORCPT ); Tue, 4 Jan 2005 12:45:49 -0500 Subject: RE: How to add/drop SCSI drives from within the driver? From: James Bottomley To: "Bagalkote, Sreenivas" Cc: Matt Domsch , "Salyzyn, Mark" , brking@us.ibm.com, Linux Kernel , SCSI Mailing List , bunk@fs.tum.de, Andrew Morton , "Ju, Seokmann" , "Doelfel, Hardy" , "Mukker, Atul" In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E570230CAD3@exa-atlanta> References: <0E3FA95632D6D047BA649F95DAB60E570230CAD3@exa-atlanta> Content-Type: text/plain Date: Tue, 04 Jan 2005 11:42:32 -0600 Message-Id: <1104860553.5327.46.camel@mulgrave> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 859 Lines: 24 On Tue, 2005-01-04 at 12:25 -0500, Bagalkote, Sreenivas wrote: > A minor point is that an application should ideally force scan only those > drives Yes, it's a bit overkill, but it would work ... it's not like reconfiguration is something you do every day. > that it has added. But more importantly, this will not help an application > to delete > the drives. Correct? Well, no, I think that would work under this scheme, too: to delete a drive, it must already exist, so if you've published the logical number in sysfs, you can easily find it by logical ID and delete it by host channel, pun and lun. James - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/