Add infos about devfs(5) where needed.
Submitted by: keramida
This commit is contained in:
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
en_US.ISO8859-1
articles
books
|
@ -288,6 +288,10 @@
|
|||
|
||||
<h4>Making The Devices</h4>
|
||||
|
||||
<p>(NOTE: In FreeBSD 5.X, the <samp>MAKEDEV</samp> run is not
|
||||
required if you are running a kernel that uses
|
||||
<samp>DEVFS</samp>)</p>
|
||||
|
||||
<p>You will need to make the device nodes for the Stallion card
|
||||
(which are not made by default). A new version of
|
||||
<samp>/dev/MAKEDEV</samp> with Stallion support will have been
|
||||
|
@ -1225,7 +1229,7 @@ conventions
|
|||
Last modified: Thu Jul 19 10:19:28 EST 2001
|
||||
<!-- hhmts end -->
|
||||
<br>
|
||||
$Id: article.sgml,v 1.8 2002-07-11 19:07:48 trhodes Exp $
|
||||
$Id: article.sgml,v 1.9 2002-12-02 21:11:54 blackend Exp $
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -304,7 +304,9 @@ hostname altair.example.com</programlisting>
|
|||
-r-xr-xr-x 1 root wheel 1992 Jun 10 1995 ./dev/MAKEDEV.local
|
||||
-r-xr-xr-x 1 root wheel 24419 Jun 10 1995 ./dev/MAKEDEV</screen>
|
||||
|
||||
<para>Do not forget to run <command>MAKEDEV all</command> in the
|
||||
<para>If you are not using &man.devfs.5; (which is the default
|
||||
in FreeBSD 5.X), you should make sure that you
|
||||
do not forget to run <command>MAKEDEV all</command> in the
|
||||
<filename>dev</filename> directory.</para>
|
||||
|
||||
<para>My <filename>/etc/rc</filename> for <hostid>altair</hostid>
|
||||
|
|
|
@ -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 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 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 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>
|
||||
|
||||
|
|
|
@ -28,8 +28,10 @@
|
|||
<para>Most devices in a Unix-like operating system are accessed
|
||||
through device-nodes, sometimes also called special files.
|
||||
These files are usually located under the directory
|
||||
<filename>/dev</filename> in the filesystem hierarchy. Until
|
||||
devfs is fully integrated into FreeBSD, each device node must be
|
||||
<filename>/dev</filename> in the filesystem hierarchy.
|
||||
In releases of FreeBSD older than 5.0-RELEASE, where
|
||||
&man.devfs.5; support is not integrated into FreeBSD,
|
||||
each device node must be
|
||||
created statically and independent of the existence of the
|
||||
associated device driver. Most device nodes on the system are
|
||||
created by running <command>MAKEDEV</command>.</para>
|
||||
|
|
|
@ -28,8 +28,10 @@
|
|||
<para>Most devices in a Unix-like operating system are accessed
|
||||
through device-nodes, sometimes also called special files.
|
||||
These files are usually located under the directory
|
||||
<filename>/dev</filename> in the filesystem hierarchy. Until
|
||||
devfs is fully integrated into FreeBSD, each device node must be
|
||||
<filename>/dev</filename> in the filesystem hierarchy.
|
||||
In releases of FreeBSD older than 5.0-RELEASE, where
|
||||
&man.devfs.5; support is not integrated into FreeBSD,
|
||||
each device node must be
|
||||
created statically and independent of the existence of the
|
||||
associated device driver. Most device nodes on the system are
|
||||
created by running <command>MAKEDEV</command>.</para>
|
||||
|
|
|
@ -2458,6 +2458,12 @@ options KBD_INSTALL_CDEV</programlisting>
|
|||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
||||
&prompt.root; <userinput>./MAKEDEV kbd0 kbd1</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>You can omit this step if you are running FreeBSD
|
||||
5.0-RELEASE or newer with &man.devfs.5; enabled,
|
||||
since the proper device nodes will be created automatically
|
||||
under <filename>/dev</filename>.</para>
|
||||
</note>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
@ -2586,7 +2592,14 @@ usbd_flags=""</programlisting>
|
|||
<screen>&prompt.root; <userinput>cd /dev; sh MAKEDEV psm0</userinput></screen>
|
||||
|
||||
<para>when logged in as <username>root</username>.</para>
|
||||
</answer>
|
||||
|
||||
<note>
|
||||
<para>You can omit this step if you are running FreeBSD
|
||||
5.0-RELEASE or newer with &man.devfs.5; enabled,
|
||||
since the proper device nodes will be created automatically
|
||||
under <filename>/dev</filename>.</para>
|
||||
</note>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
|
@ -2714,6 +2727,13 @@ device ums0</programlisting>
|
|||
|
||||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
||||
&prompt.root; <userinput>./MAKEDEV ums0</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>You can omit this step if you are running FreeBSD
|
||||
5.0-RELEASE or newer with &man.devfs.5; enabled,
|
||||
since the proper device nodes will be created automatically
|
||||
under <filename>/dev</filename>.</para>
|
||||
</note>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
@ -3944,6 +3964,13 @@ quit</programlisting>
|
|||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
||||
&prompt.root; <userinput>./MAKEDEV snd1</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>You can omit this step if you are running FreeBSD
|
||||
5.0-RELEASE or newer with &man.devfs.5; enabled,
|
||||
since the proper device nodes will be created automatically
|
||||
under <filename>/dev</filename>.</para>
|
||||
</note>
|
||||
|
||||
<para>This situation does not arise in FreeBSD 4.X as a lot
|
||||
of work has been done to make it more
|
||||
<emphasis>PnP-centric</emphasis> and the
|
||||
|
@ -5650,11 +5677,17 @@ use "disklabel -r" to install initial label</screen>
|
|||
partitions. For example, if you have an <quote>E</quote>
|
||||
partition as the second DOS partition on the second SCSI drive,
|
||||
you need to create the special files for <quote>slice 5</quote>
|
||||
in /dev, then mount /dev/da1s5:</para>
|
||||
in <filename>/dev</filename>, then mount <devicename>/dev/da1s5</devicename>:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
||||
&prompt.root; <userinput>sh MAKEDEV da1s5</userinput>
|
||||
&prompt.root; <userinput>mount -t msdos /dev/da1s5 /dos/e</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>You can omit this step if you are running FreeBSD
|
||||
5.0-RELEASE or newer with &man.devfs.5;
|
||||
enabled.</para>
|
||||
</note>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
|
@ -6894,7 +6927,7 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
|
|||
<screen>&prompt.root; <userinput>cd /cdrom/bin</userinput>
|
||||
&prompt.root; <userinput>./install.sh</userinput></screen>
|
||||
|
||||
<para>Alternately, you can remove all <literal>MAKE_KERBEROS</literal>
|
||||
<para>Alternately, you can remove all <makevar>MAKE_KERBEROS</makevar>
|
||||
options from <filename>/etc/make.conf</filename> and rebuild
|
||||
world.</para>
|
||||
</answer>
|
||||
|
@ -6966,6 +6999,12 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
|
|||
|
||||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
||||
&prompt.root; <userinput>sh MAKEDEV snd0</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>You can omit this step if you are running FreeBSD
|
||||
5.0-RELEASE or newer with &man.devfs.5;
|
||||
enabled.</para>
|
||||
</note>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue