Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/xfs.cpython-312.pyc
�

-�_g]��,�ddlmZmZGd�dee�Zy)�)�Plugin�IndependentPluginc�*�eZdZdZdZdZdZdZdZd�Z	y)	�Xfsz�This plugin collects information on mounted XFS filessystems on the
    local system.

    Users should expect `xfs_info` and `xfs_admin` collections by this plugin
    for each XFS filesystem that is locally mounted.
    zXFS filesystem�xfs)�storage)�/sys/fs/xfs�/proc/fs/xfs)rc��d}d}t|j||��D]J}|D]C}|jd�}|jd|d��d��|jd|d	����E�L|j	d
dg�y)Nz/proc/mountsz^(/dev/.+).+xfs\s+� z	xfs_info ��xfs_info)�tagszxfs_admin -l -u rr
r	)�zip�do_regex_find_all�split�add_cmd_output�
add_copy_spec)�self�mounts�ext_fs_regex�dev�ext�partss      �8/usr/lib/python3/dist-packages/sos/report/plugins/xfs.py�setupz	Xfs.setups�����,���t�-�-�l�F�C�D�	C�C��
C���	�	�#����#�#�i��a��z�$:�)3�$�5��#�#�&6�u�Q�x�j�$A�B�	
C�	C�	
�����
�	�N)
�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�files�kernel_modsr�rrrrs'���"�J��K��H�+�E��K�
rrN)�sos.report.pluginsrrrr'rr�<module>r)s��9��&�#�r