content_image/828486.jpg content_image/828487.jpg content_image/828488.jpg content_image/828489.jpg content_image/828490.jpg content_image/828491.jpg
## Appendix D. Random Bits 

## D.1. Linux Devices 

In Linux various special files can be found under the directory /dev . These files are called device files and behave unlike ordinary files. The most common types of device files are for block devices and character devices. These files are an interface to the actual driver (part of the Linux kernel) which in turn accesses the hardware. Another, less common, type of device file is the named pipe . The most important device files are listed in the tables below. 

<img src='content_image/828486.jpg'>

<img src='content_image/828487.jpg'>

<img src='content_image/828488.jpg'>

<img src='content_image/828489.jpg'>

<img src='content_image/828490.jpg'>

<img src='content_image/828491.jpg'>

## D.1.1. Setting Up Your Mouse 

The mouse can be used in both the Linux console (with gpm) and the X window environment. 

Normally, this is a simple matter of installing gpm and the X server itself. Both should be configured to use /dev/input/mice as the mouse device. The correct mouse protocol is named exps2 in gpm, and ExplorerPS/2 in X. The respective configuration files are /etc/gpm.conf and /etc/X11/xorg.conf . 

