|
Lines 1308-1319
Link Here
|
| 1308 |
<sect2> |
1308 |
<sect2> |
| 1309 |
<title>Creating Device Nodes</title> |
1309 |
<title>Creating Device Nodes</title> |
| 1310 |
<para>When adding a new device to your system, or compiling |
1310 |
<para>When adding a new device to your system, or compiling |
| 1311 |
in support for additional devices, a device driver |
1311 |
in support for additional devices, a device node |
| 1312 |
often-times needs to be created.</para> |
1312 |
often-times needs to be created.</para> |
| 1313 |
|
1313 |
|
| 1314 |
<sect3> |
1314 |
<sect3> |
| 1315 |
<title>MAKEDEV Script</title> |
1315 |
<title>MAKEDEV Script</title> |
| 1316 |
<para>On systems without DEVFS, device nodes are created |
1316 |
<para>On systems without <literal>devfs</literal>, device nodes are created |
| 1317 |
using the &man.MAKEDEV.8; script as shown below:</para> |
1317 |
using the &man.MAKEDEV.8; script as shown below:</para> |
| 1318 |
|
1318 |
|
| 1319 |
<screen>&prompt.root; cd /dev |
1319 |
<screen>&prompt.root; cd /dev |
|
Lines 1327-1341
Link Here
|
| 1327 |
<sect3> |
1327 |
<sect3> |
| 1328 |
<title>devfs (Device File System)</title> |
1328 |
<title>devfs (Device File System)</title> |
| 1329 |
|
1329 |
|
| 1330 |
<para> The device filesystem, or devfs, provides access to |
1330 |
<para> The device filesystem, or <literal>devfs</literal>, provides access to |
| 1331 |
kernel's device namespace in the global filesystem namespace. |
1331 |
kernel's device namespace in the global filesystem namespace. |
| 1332 |
Instead of having to create and modify device nodes, |
1332 |
Instead of having to create and modify device nodes, |
| 1333 |
devfs maintains this particular filesystem for you.</para> |
1333 |
<literal>devfs</literal> maintains this particular filesystem for you.</para> |
| 1334 |
|
1334 |
|
| 1335 |
<para>See the &man.devfs.5; man page for more |
1335 |
<para>See the &man.devfs.5; man page for more |
| 1336 |
information.</para> |
1336 |
information.</para> |
| 1337 |
|
1337 |
|
| 1338 |
<para>devfs is used by default in FreeBSD 5.0.</para> |
1338 |
<para><literal>devfs</literal> is used by default in FreeBSD 5.0.</para> |
| 1339 |
</sect3> |
1339 |
</sect3> |
| 1340 |
</sect2> |
1340 |
</sect2> |
| 1341 |
</sect1> |
1341 |
</sect1> |