Add infos about devfs(5) where needed.

Submitted by:		keramida
This commit is contained in:
Marc Fonvieille 2002-12-02 21:11:55 +00:00
parent 4d0de73f15
commit 01bcf1ded6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=15136
6 changed files with 74 additions and 12 deletions

View file

@ -2137,7 +2137,12 @@ sio16: type 16550A (multiport master)</screen>
<para>Next, appropriate entries in
<filename>/dev</filename> for the devices must be made
using the <filename>/dev/MAKEDEV</filename>
script. After becoming root:</para>
script. This step can be omitted if you are running
FreeBSD&nbsp;5.X with a kernel that has &man.devfs.5;
support compiled in.</para>
<para>If you do need to create the <filename>/dev</filename>
entries, run the following as <username>root</username>:</para>
<screen>&prompt.root; <userinput>cd /dev</userinput>
&prompt.root; <userinput>./MAKEDEV tty1</userinput>
@ -2310,7 +2315,10 @@ sio2: type 16550A (multiport master)</screen>
<step>
<para>Make the device nodes by typing (the following
example assumes an 8-port board):</para>
example assumes an 8-port board)<footnote>
<para>You can omit this part if you are running FreeBSD&nbsp;5.X
with &man.devfs.5;.</para>
</footnote>:</para>
<screen>&prompt.root; <userinput>cd /dev</userinput>
&prompt.root; <userinput>for i in 0 1 2 3 4 5 6 7;do ./MAKEDEV cuac$i ttyc$i;done</userinput></screen>
@ -2396,8 +2404,13 @@ ttyc7 "/usr/libexec/getty std.38400" unknown on insecure</programlisting>
<para>After adding the configuration entry, rebuild and
install your new kernel.</para>
<note>
<para>The following step, is not necessary if you are using
&man.devfs.5; in FreeBSD&nbsp;5.<replaceable>X</replaceable>.</para>
</note>
<para>After rebooting with the new kernel, you need to make the
device nodes in /dev. The <filename>MAKEDEV</filename> script
device nodes in <filename>/dev</filename>. The <filename>MAKEDEV</filename> script
will take care of this for you. Count how many total ports
you have and type:</para>