Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 9 Aug 2002 02:13:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 9 Aug 2002 02:13:43 -0400 Received: from web12908.mail.yahoo.com ([216.136.174.75]:25355 "HELO web12908.mail.yahoo.com") by vger.kernel.org with SMTP id ; Fri, 9 Aug 2002 02:13:43 -0400 Message-ID: <20020809061726.12333.qmail@web12908.mail.yahoo.com> Date: Thu, 8 Aug 2002 23:17:26 -0700 (PDT) From: Tom Sanders Subject: /proce/scsi/scsi and /dev mapping ? To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 817 Lines: 25 Is there a way to map entries in /proc/scsi/scsi with their corresponding mapping with /dev/sda, /dev/sdb etc ? During system boot, entries in /proce/scsi/scsi and /dev are initialized in serial order, and there is a one to one mapping. However, this mapping is NOT guaranteed if devices are selectively removed and added using "scsi remove-single-device" and "scsi add-single-device" commands. Any idea of how to work around it ? TIA. Tom __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com - 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/