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