There are two main types of devices under Linux systems, block devices and character devices.
Character
Devices
|
Block Devices
|
The devices that conveys data
character by character between the device and the user program.
|
The devices that read/write data
in fixed size blocks.
|
Eg: Mouse, Keyboard
|
Eg: USB, Hard Disk
|
No buffering is performed
|
Block devices are accessed through
a buffer
|
The first character is ‘c’ in the output of ls -l
cd to /dev and run the command ls -l
|
The first character is ‘b’ in the output of ls -l
cd to /dev and run the command ls -l
|
No comments:
Post a Comment