block: add partition attribute for partition number