xzh2000的博客 本人提供杭州地区Oracle现场技术支持服务,包括性能调整、DataGuard、RAC等。
08 08, 2006
LINUX字符、块设备的区别
作者 xzh2000 21:55 | Permalink 静态链接网址 | Comments 最新回复 (0) | Trackback 引用 (0) | 技术交流

1. Character devices are read and written directly without buffering.

2. Block devices can only be written to and read from in multiples of the block size, typically 512 or 1024 bytes. Block devices are accessed via the buffer cache and may be randomly accessed, that is to say, any block can be read or written no matter where it is on the device. Block devices can be accessed via their device special file but more commonly they are accessed via the file system. Only a block device can support a mounted file system.

3. Network devices are accessed via the BSD socket interface and the networking subsytems described in the Networking chapter.

The Raw devices are character devices (major number 162).


相关链接:

http://www.ithack.net/Articles/oracle/2005050930500.html

Comments
博客日历
« 六月 2009 »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
搜索
最新发表
文章分类
文章归档
网站链接
新闻聚合