On Tue, Mar 06, Douglas Gilbert wrote:

> In summary sg_luns is probably not what you want!

Yes, it can be done in bash.

cd /sys/block/sde/device ; i=`pwd -P` ; printf '%x%012x\n' ${i##*:}
-
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