#NEWLINE# def _active_mounts_darwin( ret ) : #NEWLINE# #INDENT# '\n    List active mounts on Mac OS systems\n    ' #NEWLINE# for line in __salt__ [ 'cmd.run_stdout' ] ( 'mount' ) . split ( '\n' ) : #NEWLINE# #INDENT# comps = re . sub ( '\\s+' , ' ' , line ) . split ( ) #NEWLINE# parens = re . findall ( '\\((.*?)\\)' , line , re . DOTALL ) [ 0 ] . split ( ', ' ) #NEWLINE# ret [ comps [ 2 ] ] = { #NEWLINE# #INDENT# 'device' : ret [ 0 ] , #NEWLINE# 'fstype' : parens [ 0 ] , #NEWLINE# 'opts' : _resolve_user_group_names ( parens [ 1 : ] ) , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# return ret