Re: [PATCH] /proc/scsi/map

Patrick Mochel (mochel@osdl.org)
Tue, 25 Jun 2002 11:13:15 -0700 (PDT)


> 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/