Difference between revisions of "Device"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 6: Line 6:
  
 
== Character devices ==
 
== Character devices ==
 +
A character device is a device that delivers characters, but you cannot seek on. Examples include the keyboard and /dev/random.
  
 
== Network devices ==
 
== Network devices ==

Revision as of 13:54, 8 January 2012

A device is a hardware component with a distinct purpose. For example your mouse, keyboard and monitor are devices. Under Linux, devices are assigned a special file and listed under /dev.

Types

Block devices

Character devices

A character device is a device that delivers characters, but you cannot seek on. Examples include the keyboard and /dev/random.

Network devices

What to do with a device

format

mount