Put in remaining pages and wiki contents.
[ikiwiki.git] / docs / handbook / handbook-basics-devices.mdwn
1 \r
2 \r
3 ## 3.11 Devices and Device Nodes \r
4 \r
5 A device is a term used mostly for hardware-related activities in a system, including disks, printers, graphics cards, and keyboards. When DragonFly boots, the majority of what DragonFly displays are devices being detected. You can look through the boot messages again by viewing `/var/run/dmesg.boot`.\r
6 \r
7 For example, `acd0` is the first IDE CDROM drive, while `kbd0` represents the keyboard.\r
8 \r
9 Most of these devices in a UNIX® operating system must be accessed through special files called device nodes, which are located in the `/dev` directory.\r
10 \r
11 ### 3.11.1 Creating Device Nodes with MAKEDEV \r
12 \r
13 When adding a new device to your system, or compiling in support for additional devices, you may need to create one or more device nodes for the new devices.\r
14 \r
15 Device nodes are created using the [MAKEDEV(8)](http://leaf.dragonflybsd.org/cgi/web-man?command#MAKEDEV&section8) script as shown below:\r
16 \r
17     \r
18     # cd /dev\r
19     # sh MAKEDEV ad1\r
20     \r
21 \r
22 \r
23 This example would make the proper device nodes for the second IDE drive when installed.\r
24 \r
25 \r
26 \r
27 CategoryHandbook\r
28 CategoryHandbook-basics\r