Re: [PATCH 11/17] target: add session sysfs class support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 6/8/20 7:06 AM, Bodo Stroesser wrote:
+What: /sys/class/scsi_target_session/session-N/transport_id/session_id
+Date:        June 5, 2020
+KernelVersion:    5.9
+Contact: linux-scsi@xxxxxxxxxxxxxxx
+Description:    If is proto=0x5 (iSCSI) and TPID FORMAT=1 this file will exist
+        and will return the iSCSI Initiator Session ID in ASCII
+        characters that are the hexadecimal digits converted from the
+        binary iSCSI initiator session identifier value. If iSCSI and
+        format=1 is not used by this session this file will not exist.

If I got it right, this is not how the code works.
AFAICS, the file will always exist, but reading it delivers data only if
proto=0x5 (iSCSI) and TPID FORMAT=1


I forgot to update the description when I changed the code. Will update. Thanks.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux