

def list_block_devices(disks=True):
    'Gets list of block devices\n\n    Tries to guess which of them are disks\n    and returns list of dicts representing those disks.\n\n    :returns: A list of dict representing disks available on a node.\n    '
    bdevs = []
    devs = get_block_devices_from_udev_db()
    for device in devs:
        bdev = get_device_info(device, disks)
        if bdev:
            devs.append(bdev)
    return bdevs

dataset/ETHPy150Open openstack/bareon/bareon/utils/hardware.py list_block_devices/VarMisuse@46/142 `bdevs`->`devs`