--- James Bottomley <[EMAIL PROTECTED]> wrote:
> You're sort of confusing what we display as the LUN and what we
> represent it as internally (admittedly they're the same at the moment).
> The object would be to separate these and the debate is really about
> what to display.

Display this:
 "%016llx", ((unsigned long long) be64_to_cpu(*(__be64 *)(LUN))),
where LUN is u8[8].  Notice the ugly, C-centric "0x" prefix
is missing.  Not sure who would confuse this number for decimal
or octal base representation of a LUN...

This also makes it great to be a directory name, since it is the
same width and format, and it looks great in "tree" listing format,
as shown in here:
http://marc.info/?l=linux-scsi&m=112629509826900&w=2

    Luben

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to