code: def _active_mounts_darwin(ret):
      '''
      List active mounts on Mac OS systems
      '''
      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 ref _active_mounts_darwin(ret):
      '''
      List active mounts on Mac OS systems
      '''
      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
docs: List active mounts on Mac OS systems