Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 25 Jun 2002 14:18:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 25 Jun 2002 14:18:21 -0400 Received: from air-2.osdl.org ([65.172.181.6]:6300 "EHLO geena.pdx.osdl.net") by vger.kernel.org with ESMTP id ; Tue, 25 Jun 2002 14:18:21 -0400 Date: Tue, 25 Jun 2002 11:13:15 -0700 (PDT) From: Patrick Mochel X-X-Sender: To: Douglas Gilbert cc: Linux kernel list , Linux SCSI list Subject: Re: [PATCH] /proc/scsi/map In-Reply-To: <3D14D301.F2C8DBBE@torque.net> Message-ID: 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: 1041 Lines: 25 > So the "target id" we put in driverfs could have one of > these suggested formats: > - 0 to 1 for ATA > - 0 to 15 for SCSI parallel interface > - 24 bit number for fibre channel > - ieee1394 > - usb (mass storage + scanner) > ":" - iSCSI [something better than ":"?] In the physical device tree, what's wrong with setting the name to something simple, like 'iscsi0', etc. All you're looking for is a locally unique ID. You need a globally unique ID to do persitant attribute setting and restoration, including naming. When /sinb/hotplug gets a call to name the device, it can look up the GUID to determine what to name the device. -pat - 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/