HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/bin/sg_luns
ELF�@xC@8	@@@@��888$<$<x<x<x<x��<�<�<TTTDDP�td0:0:0:TTQ�tdR�tdx<x<x<��/lib/ld-linux-aarch64.so.1GNU�~�Z�O����mgj�kONZ8GNU@H�U!� F"���m�}��� g�������f��u�, �4xZ_ITM_deregisterTMCloneTable__gmon_start___ITM_registerTMCloneTable__cxa_finalize__libc_start_mainabortpr2serrstrncpy__printf_chk__strcat_chk__snprintf_chkputs__stack_chk_failoptarggetopt_longsg_get_numoptind__ctype_toupper_locstrlenstrchr__ctype_b_loc__isoc99_sscanfsg_set_binary_modesg_cmds_open_devicesg_simple_inquirysg_memalignsg_ll_report_lunsputcharsg_get_category_sense_strfreesg_cmds_close_devicesg_if_can2stderrsafe_strerrorsg_convert_errnohex2stderrperrorhex2stdout__stack_chk_guardlibsgutils2-1.46.so.2libc.so.6ld-linux-aarch64.so.1GLIBC_2.17GLIBC_2.343 ���I)���T���Ix<�<��?�@@@�90@�9P@�9p@�9�@�9�@�9�@�9�@�9A�90A:PA:pA:�A :�A(:�?�?	�?�?�?�?�?$�>�>�>�>�>�>	�>
�>�>
�>???? ?(?0?8?@?H?P?X?`?h?p?x? �?!�?"�?#�?%�?&�?'�?( �{����H��{���_��{����VG��:� � � � Ր�ZG��:� ֐�^G��:� ֐�bG�;� ֐�fG�";� ֐�jG�B;� ֐�nG�b;� ֐�rG��;� ֐�vG��;� ֐�zG��;� ֐�~G��;� ֐��G�<� ֐��G�"<� ֐��G�B<� ֐��G�b<� ֐��G��<� ֐��G��<� ֐��G��<� ֐��G��<� ֐��G�=� ֐��G�"=� ֐��G�B=� ֐��G�b=� ֐��G��=� ֐��G��=� ֐��G��=� ֐��G��=� ֐��G�>� ֐��G�">� ֐��G�B>� ֐��G�b>� ֐��G��>� ֐��G��>� ֐��G��>� ��{������s�����B�G��S��*��G��[����c����k��B�����?�����R�R@@������R��)��
)�w��)�)�O����������*�������1�
T�q���T�THq 
TMT�qT�qAT�R�����G��@�@�B��ҁLT�*�SA��[B��cC��kD��sE��{Ө�_�XqT8�R�� q`T0qT�w@��w� �R�����q�T�T�q�T�q�T9�R���q�T�*���0���;�R�����q��T��G�@�x�����Dq���T��R;�R � ������q T�q��T�g@��g� �R�����:�R��� �R�o�����?@�@�]������qI�T�;�R���������s@��s�����k@��k�����?@�@�����е�G��@�?kK
T���@�q@z�!T8"5���������a@9@�t@9`za�0q'T�����`� ��_8vz`���q@)T���R����)�����b���y@9�*9'4����9�@�hyx@`7{����������q�%T�@�{�`j88���#�a��T�L)�2q��*@4�k@�q�T���"��R� �R!`�����s
�@9�@9
qT����R �R����"q@T�
�� ��a���k���T��B���`��������@���k+��T;�R��7��,��4 �Rz���2�7�A9���g@����*@&�7�k@�q�@���R?j�T�g@�q�T�`�z����g@����*�RU����* +5�B9�g@�F�?q@z�&T�w��@��R�c�?q ��g@���?q�R�ן������$��g@����@��*��@�$�R�*�����*�5�@��
�Z�"�k�җ9'5�s@�q�*T�R���5�q�����`�Є��!���*�* �RA����@��k�!T Q�R�c`7��B��������q�*b��,����g@�qL T�Д"�7`!�� ��R�k*T�54�� �R ���М�!��҂jy8��9� �R���?#�A��T@�Rl����k@�@
5��"��е"���� �R!`�����js8��s� �R���"�A��T@�RW����4��`����s@�qLT�s@�`4� �R!@��������R�N)���g@��8�W������������!���R�����}��$qT,q�TqT�g@��C���
�R������$�����O@�@���*�����7�g@��	4q`�R{��b���N)��g@��!�"��*�������R �R�
��������`@9���q�T`@9`z`�`q�T�`�!@���qT�;�R`�����A��t5�;�R������;��`@9`z`�`q��T{������!�R���@������R�����������b�������`��*���qA��T�@���k38s�"�T�����*�$�����r��T�@%�m�������K�*�������@�$�e���[�5�*�����*���@��� �R`���=��� �R!@�[���i���K�*����������N����*�����*��S@�����"�Z�j x�!�P� �a��T����@��`�<�����Rn����*�� �R�w����3������@�/���;�R�����g@�q-�T����`&�%����@���"�Ru������� �R! � ���.��������O�����jv8��n����k���TG����!����C���@#����?����"����;��`��! �C���\����R���������7�����*������*����� ��������@��#������G���������������G�@���_� � Հ�����!��?�T��!�G�a����_ր�����!��!�"��A��!�A�����B�G�b����_� �{��������`�G9@5���G�����@�������� �R`�9�@��{¨�_� � ��� � � �{���@��������`������`������{����R�������@y�Z<@�A�_x!�Z!<@� @�_�a��T�_�Cх�{�����G��S���!@9�@�������?�q T�s��`#5��7����[��#��*�c�X�*�k��*�Z�9�Px�R�9������ҵ���y4x4`@9`5`@9 /4���!7� �R�Ra��������!8�����g@9�|S�
q�T�q�
T�q�TX
5
�5g@9�|S�
q@-T�q@T�q !T�#� ����������"�R�;���7����@��;@��*� 5�
qc@9����,4� �R! :�2���l?q`T?q���4�c�4�c����� �R!�7�$��������G��A�@�B���0T����{@�!@5��SA� �R�C������ �R! 8���������!8�6���g@9�|S�
q�T�q`T�q T�#� ������"�R�����8��;��c@y�;@�c�Zc4��54� �R! 9���<5�
q��%�D��qe@9�|�AzT�q��q`Az!
T`
@9�<Sa@9��� **�4� �R!�����c@9�ec|S�54� �R��!@?��*����q BzLT`
@9`5`@9�4���!�
� �R�������G��A�@�B���"T�{@��SA��[B��cC��kD��sE��C��_�c@9�ec|S��� �R!�=��*������c@yc�Zc4�
5��U4� �R!�<���������� �R!`��*������q`Bz�
Tq�Oz�Tg7q�T`
@9�<Sa@9� **���4� �R!��z������� �R!@=�u�������`����#�@�"�0�@�	��q�T�T�q`
T�qaT����� �R!��_�������q
T�q�
T����� �R!��T�������q�	T�����*�!��K������c@yc�Zc4��� �R!�;�B������c@yc�Zc4����c�4���� �R!`9�6���H���7@��q��5�e@9������	4�*� �R!�:��s�'����s@�'�49s
�?q�T���`
��@�s�@8# ���T���4� �R! ����Y��� �R!`����T������� �R!@����M���*����4� �R! �����D������� �R! �����=������� �R!���6����� �R!�5��*����4�@6�����+��c@9�ec|S���*� �R! ;��s�����s@����� �R!`:����
��� �R!������q��R��R��@�`
�a�@8T ���TU4��� �R!�������� �R! ����������� �R!�������������� �R!`������� �R!�	������� �R!`�����������[��c��k��s����� �{�����{���_�Usage: sg_luns    [--decode] [--help] [--hex] [--linux] [--lu_cong]
                  [--maxlen=LEN] [--quiet] [--raw] [--readonly]
                  [--select=SR] [--verbose] [--version] DEVICE
     or
       sg_luns    --test=ALUN [--decode] [--hex] [--lu_cong] [--verbose]
  where:
    --decode|-d        decode all luns into component parts
    --help|-h          print out usage message
    --hex|-H           output response in hexadecimal; used twice
                       shows decoded values in hex
    --linux|-l         show Linux integer lun after T10 representation
    --lu_cong|-L       decode as if LU_CONG is set; used twice:
                       decode as if LU_CONG is clear
    --maxlen=LEN|-m LEN    max response length (allocation length in cdb)
                           (def: 0 -> %d bytes)
    --quiet|-q         output only ASCII hex lun values
    --raw|-r           output response in binary
    --readonly|-R      open DEVICE read-only (def: read-write)
    --select=SR|-s SR    select report SR (def: 0)
                          0 -> luns apart from 'well known' lus
                          1 -> only 'well known' logical unit numbers
                          2 -> all luns
                          0x10 -> administrative luns
                          0x11 -> admin luns + non-conglomerate luns
                          0x12 -> admin lun + its subsidiary luns
    --test=ALUN|-t ALUN    decode ALUN and ignore most other options
                           and DEVICE (apart from '-H')
    --verbose|-v       increase verbosity
    --version|-V       print version string and exit

Performs a SCSI REPORT LUNS command or decodes the given ALUN. When SR is
0x10 or 0x11 DEVICE must be LUN 0 or REPORT LUNS well known logical unit;
when SR is 0x12 DEVICE must be an administrative logical unit. When the
--test=ALUN option is given, decodes ALUN rather than sending a REPORT
LUNS command.
SecondThirdFourthtargetlun%sLogical unit _not_ specified
%s>>>> Administrative LU
        since Subsidiary element is 0x0000%s>>Subsidiary element:
%s>>%s level addressing:
  %s>>Administrative element:
%sSimple lu addressing: %s0x%04x
%s%d
%sPeripheral device addressing: %slun=0x%02x
%slun=%d
%sbus_id=0x%02x, %s=0x%02x
%sbus_id=%d, %s=%d
%sSince LU_CONG=1, unexpected Flat space addressing: lun=0x%04x
%sFlat space addressing: lun=0x%04x
%sFlat space addressing: lun=%d
%sSince LU_CONG=1, unexpected lu addressing: bus_id=0x%x, target=0x%02x, lun=0x%02x
%sLogical unit addressing: bus_id=0x%x, target=0x%02x, lun=0x%02x
%sLogical unit addressing: bus_id=%d, target=%d, lun=%d
well known logical unit%sREPORT LUNS %s
%sACCESS CONTROLS %s
%sTARGET LOG PAGES %s
%sSECURITY PROTOCOL %s
%sMANAGEMENT PROTOCOL %s
%sTARGET COMMANDS %s
%s%s 0x%02x
%s%s %d
%sExtended flat space addressing: lun=0x%06x
%sExtended flat space addressing: lun=%d
%sLong extended flat space addressing: lun=0x%010lx
%sLong extended flat space addressing: lun=%lu
%sLogical unit _not_ specified addressing
%sExtended logical unit addressing: length=%d, e.a. method=%d, value=0x%06x
%sExtended logical unit addressing: length=%d, e.a. method=%d, value=%d
%sExtended logical unit addressing: length=%d, e. a. method=%d, value=0x%014lx
%sExtended logical unit addressing: length=%d, e. a. method=%d, value=%lu
%s<<unexpected data at next level, continue>>
yiessdhHlLm:qrRs:t:vVargument to '--maxlen' should be %d or less
bad argument to '--select', expect 0 to 255
unrecognised option code 0x%x ??
Unexpected extra argument: %s
Not in DEBUG mode, so '-vV' has no special action
1.45 20200708version: %s
 %lx %luUnable to read Linux style LUN integer given to --test=
%2xexpected a hex number, optionally prefixed by '0x'
64 bit LUN in T10 (hex, dashed) format: %c%02x%02x64 bit LUN in T10 preferred (hex) format:  %02xLinux 'word flipped' integer LUN representation: 0x%016lx
Linux 'word flipped' integer LUN representation: 0x%lx
Linux 'word flipped' integer LUN representation: %lu
Decoded LUN:missing device name!
sg_set_binary_modeopen error: %s: %s
in order to decode LUN and since --lu_cong not given, do standard
INQUIRY to find LU_CONG bit
fetching standard INQUIRY response failed
LU_CONG bit set in standard INQUIRY response
unable to sg_memalign %d bytes
Lun list length = %d which imples %d lun entr%s
  <<too many luns for internal buffer, will show %d lun%s>>
Report luns [select_report=0x%x]:
    %02x      Report Luns command not supported (support mandatory in SPC-3)
Report Luns, aborted command
Report Luns command has bad field in cdb
Report Luns command: %s
close error: %s
sg_luns failed: Some error occurred, try again with '-v' or '-vv' for more information

Output response in hex
decodehelphexlinuxlu_conglu-congmaxlenquietrawreadonlyselecttestverboseversion;T	P�����l ��P�����������0�`�zRx\�4A,��0@��< T��HA ��B�N���x���@A��K���(�0��D��A�B�B�AC�@�?I�7�8E�=�>C�;�<C�9�:T��������N����A��@�?�>�=�<�;�:�9�8�7�B�Ad
��A��A��A��A����A��������A�=�>A�;�<A�9�:A�7�8@X����
A��&�%C��D�$�#E�"�!� �C��s
������������A�)3
t%x<�<���o���
_�>��	X	���o���oH	���o�o����o                                 �<�@�9d�9h�9H�9l�9L�9L�9m�9q�9r:R:s:t :v(:V/usr/lib/debug/.dwz/aarch64-linux-gnu/sg3-utils.debugB���$t�X��M����,7ea65a9e4fd4d502f59b6d676af66b4f4e5a38.debug�[��.shstrtab.interp.note.gnu.build-id.note.ABI-tag.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.dynamic.got.data.bss.gnu_debugaltlink.gnu_debuglink88TT$&xx 4���o��>���F��_N���o��R[���oH	H	Pj�	�	XtB��~y  0����@�t%t%��%�%��0:0:T��:�:��x<x<��<�<��<�<��>�>h�@@���A�A��AJ�<B4pB