>as nick says, this isnt a disk dependant thing. the duid is stored in the >disklabel, so it works on any block device where the kernel can read a >disklabel. obviously you can have duplicate duids (eg, by dding one disk to >another) which can be a bit confusing, but we can only go so far in protecting >people from themselves. there's lots of worse things you can do with disks and >dd... > >anyway, one of the nice things about openbsd is that it tries to be as >consistent as possible between architectures. mounting partitions by duid Just >Works(tm) everywhere now.
Well... On some architectures (sparc, sparc64 for instance) we sometimes use native labels, especially for the root disk because the PROM code needs it to be so. We convert these to-from OpenBSD labels on the kernel side; we are in fact hiding all sorts of stuff inside the old Sun labels in unused bytes to help us do this conversion properly. But the end effect is that it does work.

