Block devices and character Devices

Source: Internet
Author: User

I/O devices are generally divided into two categories: Block devices and character devices. Block devices store information in blocks of a fixed size. Each block has its own address. The size of a data block is usually between 512 bytes and 32768 bytes. The basic feature of Block devices is that each block can be read and written independently of other blocks. A disk is the most common block device. In most UNIX operating systems, Block devices only support block-based access, such as disks. kylin supports accessing Block devices in character mode, that is, it supports reading/writing disks and other Block devices in character units. Therefore, Block devices, such as disks, In the/dev directory appear as character devices. Therefore, the differences between character devices and Block devices are mainly reflected in the management method in the Kylin kernel, the operation method and the kernel/Device Driver Interface.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.