// Major returns the major component of a Darwin device number. func Major(dev uint64) uint32 { … } // Minor returns the minor component of a Darwin device number. func Minor(dev uint64) uint32 { … } // Mkdev returns a Darwin device number generated from the given major and minor // components. func Mkdev(major, minor uint32) uint64 { … }