def disks():
 if salt.utils.is_freebsd():
  return _freebsd_geom()
 elif salt.utils.is_linux():
  return _linux_disks()
 else:
  log.trace('Disk grain does not support OS')

def disks ( ) : if salt . utils . is_freebsd ( ) : return _freebsd_geom ( ) elif salt . utils . is_linux ( ) : return _linux_disks ( ) else : log . trace ( 'Disk grain does not support OS' )
return list of disk devices .