disk: Add an option for partitions in SPL