Re: [PATCH] /proc/scsi/map

From: Patrick Mochel (mochel@osdl.org)
Date: Tue Jun 25 2002 - 13:13:15 EST


> So the "target id" we put in driverfs could have one of
> these suggested formats:
> <number> - 0 to 1 for ATA
> <number> - 0 to 15 for SCSI parallel interface
> <number> - 24 bit number for fibre channel
> <EUI 64+discovery_id> - ieee1394
> <???> - usb (mass storage + scanner)
> <WWUI> ":" <num> - 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/



This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:09 EST