id XddlmZmZmZmZmZmZGddeeeeZGddeeZy))Plugin RedHatPlugin DebianPlugin UbuntuPlugin CosPlugin PluginOptcheZdZdZdZdZdZeddded dd ed dd gZd Z dZ y)FilesysaCollects general information about the local filesystem(s) and mount points as well as optional information about EXT filesystems. Note that information specific filesystems such as XFS or ZFS is not collected by this plugin, as there are specific plugins for those filesystem types. This plugin will collect /etc/fstab as well as mount information within /proc/, and is responsible for the 'mount' and 'df' symlinks that appear in an sos archive's root. zLocal file systemsfilesys)storagelsofFz%collect information on all open files)defaultdescdumpe2fszdump filesystem infofragz'collect filesystem fragmentation statusc|jgd|jddd|jddd|jgd|jd |jd r|jd d d d}|jdrd}d}d}|j ||D]C}|jd|d|d|jds.|jd|zdEy)N) z /proc/fs/ /proc/mountsz/proc/filesystemsz/proc/self/mountsz/proc/self/mountinfoz/proc/self/mountstatsz/proc/[0-9]*/mountinfoz /etc/mtab /etc/fstabzmount -lmount) root_symlinktagszdf -al -x autofsdfdf__al)zdf -ali -x autofsfindmntlslocksz/proc/fs/panfsr zlsof -b +M -n -l -P2)rpriorityz-hrrz^(/dev/\S+).+ext[234]\s+z dumpe2fs  dumpe2fs_h)rrz e2freefrag %sd)r) add_copy_specadd_cmd_outputadd_forbidden_path get_optiondo_regex_find_all)self dumpe2fs_optsmounts ext_fs_regexdevs  @*e2HI&%@ B K&KP 2r.r ceZdZfdZxZS) RedHatFilesyscLtt| |jdy)Nzls -ltradZ /tmp)superr>r-r#)r' __class__s r,r-zRedHatFilesys.setup^s mT(* -.r.)r4r5r6r- __classcell__)rAs@r,r>r>\s //r.r>N) sos.report.pluginsrrrrrrr r>r<r.r,rDs4DDL2flL)L2^/G\/r.