How will the kernal differentiate the ordinary files and device files?
using the temp filed in the file's inode
using the id filed in the file's inode
using the type filed in the file's inode
using the type filed in the directory's inode