Hasso Tepper wrote: How should I port a userspace code using DIOCGMEDIASIZE ioctl to DragonFly? I keep forgetting. I think it is some disklabel ioctl (which I don't like). You can have a look at my qemu patches, I should have covered that. cheers simon