mpathFor now it's quit simple and get_path_info() method returns information about given path. It can be either a directory or a file path.
For more information visit the mpath website.
These versions of mpath are available on the BEAR systems (BlueBEAR, BEAR Cloud VMs, and CaStLeS VMs). These will be retained in accordance with our Applications Support and Retention Policy.