How are devices represented in UNIX?

来源:互联网 发布:易语言钓鱼盗号源码 编辑:程序博客网 时间:2024/05/20 16:35
 

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.

原创粉丝点击