字符设备与一般文件(regular file)的区别: 可以在一般文件中前后移动(lseek), 但只能顺序访问字符设备. 当然, 也有特例: frame grabbers.
基于28个网页-相关网页
在某些情况下,还可以把一般文件或另一个设备的文件描述符映射到内存。
In some cases, you can also map a file descriptor to a plain file or another device into memory.
使用最少文件,将其视为储存资料来源连接的一个位置,但省却一般文件功能,例如序列化。
Use a minimal document as a place to store a connection to your data source but dispense with normal document features such as serialization.
如果取消addsuffix变量,tcsh就只显示documents,这对于判断documents是一般文件还是文件夹很不方便。
If the addsuffix variable is unset, then TCSH displays only documents, which is inconvenient because you need to determine whether documents is a normal file or a folder.
应用推荐