IWATS Linux
News
Course Notes
  • Linux/1
 
 
 
Course Tests
Links
Contact
Get Linux
Notes

History Requirements Inside the system Files and directories Viewing text files Printing files
Copying files Devices Storage File types Filesystem structure

Devices

External devices, peripherial cards, terminals, anything that is a semi-separate device is seen by the system as a file. Access to those files loads driver procedures. This way, only the most important drivers stay resident. The devices are located in /dev directory. Here are some typical examples:

/dev/console - system console
/dev/mem - RAM
/dev/kmem - virtual RAM
/dev/swap - swap space and some cache access
/dev/null - empty device
/dev/tty - virtual terminal
/dev/fdn - floppy drive
/dev/hd - hard drive
/dev/lp - printer
/dev/ttyn - terminals
/dev/mt - magnetic tapes ;)