The relationship between Linux device driver and the whole hardware and software system

Source: Internet
Author: User

In addition to network devices, character devices and block devices are mapped to file system files and directories through the file system's API

Open (), close, write (), read (), and other accessible character devices and block devices.

A block device is more complex than a character device, where a disk/flash file system, such as Ext3, is first created, and these files

The system defines the organization of files and directories on the storage media.

The application can use the Linux system call interface or the C standard library, which is more recommendable for code portability considerations.

The C library function itself is also implemented through the system call interface, such as C library functions, fopen (), fclose (), Fread (), fwrite () will respectively

Invoke the operating system's API, open (), close (), read (), write ().

The relationship between Linux device driver and the whole hardware and software system

Related Article

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.