Q1. Why divide the device into two categories: <;block device> and “character device”
A:
1) Linux treats devices as files and has three meanings: First, each device corresponds to a file name, and corresponds to an index node in the kernel. Second, system calls to file operations are mostly applicable to device files. Third, from the application point of view, the logical space of device files is a linear space; for the same specific device, file operations and device drivers It is a different level of the same thing. Conceptually, a system can be divided into three levels: application, file system and device driver.
2) Linux divides devices into two categories, one is like a disk. A device that performs input/output in blocks or sectors, in blocks, is called a block device; the other is a device that performs input/output on a character-by-character basis in characters (bytes) like a keyboard, called Character devices; file systems are usually built on block devices.
Q2. What is a device driver?
A: The software that processes and manages hardware controllers in Linux is the device driver.
Q3. Which registers does the I/O port generally include? What are their respective functions?
A:
1) I/O ports include control registers, status registers, and data registers;
2) Depending on how the peripheral registers are accessed, The CPU is divided into two categories: one is "memory-mapped" mode, and the other is "I/O mapping" (I/O-mapped).
For beginner Linux (me too), I dont want to mess with Linux in the virtual machine, and I dont want
Engaged in two years WindowsClient development, what multi-threading, multi-process development, ha
AWK Stands for ‘Aho, Weinberger, and Kernighan‘Awk is a scripting language which is use
See many online how to ask how to configure the linux system nat Internet, now write an article here
How to start and shut down Linux system
Simple file exchange method for virtual machine and host under Linux
Device model bus, driver, device basic tutorial
Use mutexes to control Linux thread synchronization
Solve the Linux operating system can not log in
After linux2.6.38, the kernel version calls open
How to use the capability feature to enhance the security of Linux systems
Microsoft's production of Surface is forced by Apple
Canon LBP 2900 driver installation steps How does WinXP install the Canon LBP 2900 driver?
Windows XP system user switching cool trick
Win 7 listed cited hackers to pay attention to the cottage anti-virus software
Win10 can not set broadband dns how to do? Win10 modify DNS two tutorials
How does the WinXP system notebook connect to the TV? Notebook connection LCD TV method
Windows 7 system automatic update function introduction
Win7 can not modify the network location problem solution
I am pursuing the safe deletion of the mobile hard disk. OK?