def _active_mounts_darwin(ret):
    for line in __salt__['cmd.run_stdout']('mount').split('\n'):
        comps = re.sub(r"\s+", " ", line).split()
        parens = re.findall(r'\((.*?)\)', line, re.DOTALL)[0].split(", ")
        ret[comps[2]] = {'device': comps[0],
                         'fstype': parens[0],
                         'opts': _resolve_user_group_names(parens[1:])}
    return ret
List active mounts on Mac OS systems
dataset/ETHPy150Open saltstack/salt/salt/modules/mount.py/_active_mounts_darwin