Re-introduce the VolumeContainer interface but with a different meaning: it is supposed to be implemented by all container that contain volumes and as a result have themselves a size, like eg LVM2, LUKS2 and PartitionTable (the latter is not yet included). The sole method on the interface for now is MetadataSize, which should return the metadata for the container itself. Use that new `VolumeContainer.MetadataSize` method when we up- date the sizes of elements in `resizeEntitybranch`. |
||
|---|---|---|
| .. | ||
| btrfs.go | ||
| disk.go | ||
| disk_test.go | ||
| filesystem.go | ||
| luks.go | ||
| lvm.go | ||
| lvm_test.go | ||
| partition.go | ||
| partition_table.go | ||