def devices():
 out = __salt__['cmd.run_all']('blkid -o export')
 _verify_run(out)
 return _blkid_output(out['stdout'])

def devices ( ) : out = __salt__ [ 'cmd.run_all' ] ( 'blkid -o export' ) _verify_run ( out ) return _blkid_output ( out [ 'stdout' ] )
returns a list of device objects corresponding to the connected devices .