centralized dev number calculation, extended major and minor to 32bits