|
Lines 92-112
Link Here
|
| 92 |
New block and character device |
92 |
New block and character device |
| 93 |
drivers may be loaded into the system with |
93 |
drivers may be loaded into the system with |
| 94 |
.Nm . |
94 |
.Nm . |
| 95 |
The major problem with loading |
95 |
For more information consult with |
| 96 |
a device driver is that the driver's |
96 |
.Xr devd 8 |
| 97 |
device nodes must exist for the |
97 |
and |
| 98 |
devices to be accessed. They are usually |
98 |
.Xr devfs 5 |
| 99 |
created by using |
|
|
| 100 |
.Xr MAKEDEV 8 |
| 101 |
or |
| 102 |
.Xr mknod 8 |
| 103 |
(if the device is not supported by the |
| 104 |
.Xr MAKEDEV 8 |
| 105 |
script) or, by writing a |
| 106 |
shell script to run |
| 107 |
.Xr kldload 8 |
| 108 |
which should run the appropriate program to create the devices when the |
| 109 |
driver has been successfully loaded. |
| 110 |
.El |
99 |
.El |
| 111 |
.Sh FILES |
100 |
.Sh FILES |
| 112 |
.Bl -tag -width /usr/include/sys/module.h -compact |
101 |
.Bl -tag -width /usr/include/sys/module.h -compact |
|
Lines 127-132
Link Here
|
| 127 |
.Xr kldnext 2 , |
116 |
.Xr kldnext 2 , |
| 128 |
.Xr kldstat 2 , |
117 |
.Xr kldstat 2 , |
| 129 |
.Xr kldunload 2 , |
118 |
.Xr kldunload 2 , |
|
|
119 |
.Xr devfs 5 , |
| 120 |
.Xr devd 8 , |
| 130 |
.Xr kldload 8 , |
121 |
.Xr kldload 8 , |
| 131 |
.Xr kldstat 8 , |
122 |
.Xr kldstat 8 , |
| 132 |
.Xr kldunload 8 |
123 |
.Xr kldunload 8 |