How are devices represented in UNIX?

 

All devices are represented by files called special files that are located in /dev directory. Kernel checks 'type' field in the file's inode structure to differentiate device files and ordinary files.

你可能感兴趣的:(How are devices represented in UNIX?)