base-kernel-file-gernel

来源:互联网 发布:js设置隐藏 编辑:程序博客网 时间:2024/05/16 17:54

On a UNIX system,everything is a file;if something is not a file, it is a process.

Tree


All devices are files


Regular file:contain normal data

text file,executable file,program,input for program,output from program


special files:

Directory:lists of other files

Special files:the mechanism for input and output

    most are in /dev

Links:a system to make files or directories visible in multiple parts of the system's file tree

(Domain)sockets:providing inter-process networking

         protected by the file system's access control

Named pipes:form a way for processes to communicate with each other

原创粉丝点击