function of major/minor device number