the obvious thought which comes in everybody’s mind is that when we give major and minor number at the time of mknod ,the device being opened is the one with the given minor number….i am also thinking the same…but discrepancy occurs when i print the minor number in the open function…if i give minor number 2 at the time of mknod then the minor number being printed in the open function is 4 onot 2….major number is always printed correctly ie 250 but not the minor number.