Mention /etc/fbtab in the section that describes how to
create device nodes for the sound devices. Closes PR# 423. Also correct several spelling errors.
This commit is contained in:
parent
3821009729
commit
4b6d3d30f8
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=813
1 changed files with 13 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
<!-- $Id: kernelconfig.sgml,v 1.21 1996-10-05 18:36:17 wosch Exp $ -->
|
<!-- $Id: kernelconfig.sgml,v 1.22 1996-12-16 22:33:35 mpp Exp $ -->
|
||||||
<!-- The FreeBSD Documentation Project -->
|
<!-- The FreeBSD Documentation Project -->
|
||||||
<!-- <!DOCTYPE linuxdoc PUBLIC '-//FreeBSD//DTD linuxdoc//EN'> -->
|
<!-- <!DOCTYPE linuxdoc PUBLIC '-//FreeBSD//DTD linuxdoc//EN'> -->
|
||||||
<chapt><heading>Configuring the FreeBSD Kernel<label id="kernelconfig"></heading>
|
<chapt><heading>Configuring the FreeBSD Kernel<label id="kernelconfig"></heading>
|
||||||
|
@ -153,16 +153,16 @@
|
||||||
of the option handling. Traditionally, each option in the
|
of the option handling. Traditionally, each option in the
|
||||||
config file was simply converted into a <tt>-D</tt> switch
|
config file was simply converted into a <tt>-D</tt> switch
|
||||||
for the <tt>CFLAGS</tt> line of the kernel Makefile. Naturally,
|
for the <tt>CFLAGS</tt> line of the kernel Makefile. Naturally,
|
||||||
this caused a creaping optionism, with nobody really knowing
|
this caused a creeping optionism, with nobody really knowing
|
||||||
which option has been referenced in what files.
|
which option has been referenced in what files.
|
||||||
|
|
||||||
<p>In the new scheme, every <tt>#ifdef</tt> that is intended to
|
<p>In the new scheme, every <tt>#ifdef</tt> that is intended to
|
||||||
be dependant upon an option gets this option out of an
|
be dependent upon an option gets this option out of an
|
||||||
<tt>opt_<em>foo</em>.h</tt> declaration file created in the
|
<tt>opt_<em>foo</em>.h</tt> declaration file created in the
|
||||||
compile directory by <tt>config</tt>. The list of valid options
|
compile directory by <tt>config</tt>. The list of valid options
|
||||||
for <tt>config</tt> lives in two files: options that do not
|
for <tt>config</tt> lives in two files: options that do not
|
||||||
depend on the architecture are listed in
|
depend on the architecture are listed in
|
||||||
<tt>/sys/conf/options</tt>, architecture-dependant ones
|
<tt>/sys/conf/options</tt>, architecture-dependent ones
|
||||||
in <tt>/sys/<em>arch</em>/conf/options.<em>arch</em></tt>,
|
in <tt>/sys/<em>arch</em>/conf/options.<em>arch</em></tt>,
|
||||||
with <em>arch</em> being for example <tt>i386</tt>.
|
with <em>arch</em> being for example <tt>i386</tt>.
|
||||||
|
|
||||||
|
@ -1174,9 +1174,15 @@ controller wcd0
|
||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
# sh MAKEDEV snd0
|
# sh MAKEDEV snd0
|
||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
creates the appropriate entries. Follow this simple
|
creates the appropriate entries. Note: when creating device
|
||||||
procedure for any other non-GENERIC devices which do not
|
nodes for devices such as sound cards, if other people have
|
||||||
have entries.
|
access to your machine, it may be desirable to
|
||||||
|
protect the devices from outside access by adding them to the
|
||||||
|
<tt>/etc/fbtab</tt> file. See <tt>man fbtab</tt> for
|
||||||
|
more information.
|
||||||
|
|
||||||
|
Follow this simple procedure for any other non-GENERIC
|
||||||
|
devices which do not have entries.
|
||||||
|
|
||||||
<quote><em/Note:/ All SCSI controllers use the same set
|
<quote><em/Note:/ All SCSI controllers use the same set
|
||||||
of <tt>/dev</tt> entries, so you do not need to create
|
of <tt>/dev</tt> entries, so you do not need to create
|
||||||
|
|
Loading…
Reference in a new issue