
    -_g]                     ,    d dl mZmZ  G d dee      Zy)    )PluginIndependentPluginc                   *    e Zd ZdZdZdZdZdZdZd Z	y)	XfszThis 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.
    zXFS filesystemxfs)storage)/sys/fs/xfs/proc/fs/xfs)r   c                    d}d}t        | j                  ||            D ]J  }|D ]C  }|j                  d      }| j                  d|d    d       | j                  d|d	           E L | j	                  d
dg       y )Nz/proc/mountsz^(/dev/.+).+xfs\s+ z	xfs_info    xfs_info)tagszxfs_admin -l -u r   r
   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.setup   s    ,t--lFCD 	CC C		###iaz$:)3 $ 5##&6uQxj$AB	C	C 	
 	    N)
__name__
__module____qualname____doc__
short_descplugin_nameprofilesfileskernel_modsr    r   r   r   r      s'     "JKH+EKr   r   N)sos.report.pluginsr   r   r   r'   r   r   <module>r)      s    9&# r   