Is it possible to change the UUID of an APFS Container and Volume? [Sequoia]
After a lot of trouble, I was able to clone my APFS Time Machine onto a new, larger disk. But the only way I could do that was to use dd(1).
But that created a binary copy, so the Container, Physical Store, and Volume all have the same UUIDs as the original.
Is there any way of changing those UUIDs?
It might not be strictly necessary; I plan on keeping the older/smaller Time Machine until I'm confident the new/larger one isn't corrupt, but I have no reason to ever had them mounted simultaneously, so the duplicated UUIDs shouldn't cause a problem — although if I'm missing something, and that could cause a problem, please educate me.
Note: this is for an APFS-formatted disk, so tools for older formats won't help me. Specifically, Sequoia still contains the manpage for csunique(8), but this was for the CoreStorage volume management system, and was deprecated as of High Sierra (10.13).
Mac mini, macOS 15.6