
    Vh                     *    d dl mZmZmZ eZd dlZd Zy)    )absolute_importdivisionprint_functionNc                 p   	 t        j                  |       }t         j                  j                  j	                  |j
                        ryt        | t              r!t         j                  j                  | d      }n t         j                  j                  | d      }t         j                  j                  |      }	 t        j                  |      }|j                  }|j                  }||k7  ry|j                  }|j                  }||k(  ryy# t        t        f$ r Y yw xY w# t        t        f$ r Y yw xY w)a  Test whether a path is a mount point
    This is a copy of the upstream version of ismount(). Originally this was copied here as a workaround
    until Python issue 2466 was fixed. Now it is here so this will work on older versions of Python
    that may not have the upstream fix.
    https://github.com/ansible/ansible-modules-core/issues/2186
    http://bugs.python.org/issue2466
    Fs   ..z..T)oslstatpathstatS_ISLNKst_modeOSError
ValueError
isinstancebytesjoinrealpathst_devst_ino)r	   s1parents2dev1dev2ino1ino2s           l/home/dcms/DCMS/lib/python3.12/site-packages/ansible_collections/ansible/posix/plugins/module_utils/mount.pyismountr   :   s    XXd^ 77<<

+$dE*dD)WWf%FXXf 99D99Dt|99D99Dt|5 Z   Z  s#   D <D# D D #D54D5)
__future__r   r   r   type__metaclass__r   r        r   <module>r#      s   f A @ 	$r"   