DEVFYI - Developer Resource - FYI

How does the kernel differentiate device files and ordinary files?

Unix Interview Questions


(Continued from previous question...)

97. How does the kernel differentiate device files and ordinary files?

Kernel checks 'type' field in the file's inode structure.

(Continued on next question...)

Other Interview Questions