def disk_partition_usage(all=False):
 result = disk_partitions(all)
 for partition in result:
  partition.update(disk_usage(partition['mountpoint']))
 return result

def disk_partition_usage ( all = False ) : result = disk_partitions ( all ) for partition in result : partition . update ( disk_usage ( partition [ 'mountpoint' ] ) ) return result
return a list of disk partitions plus the mount point .