Whitespace-only fixes, translators please ignore.

This commit is contained in:
Warren Block 2016-04-03 18:57:15 +00:00
parent 50eb129c54
commit 49e2a7fc51
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48529
16 changed files with 1099 additions and 1031 deletions

View file

@ -82,8 +82,8 @@ requirements. -->
<itemizedlist>
<listitem>
<para>Understand &unix; and &os; basics (<xref
linkend="basics"/>).</para>
<para>Understand &unix; and &os; basics
(<xref linkend="basics"/>).</para>
</listitem>
<listitem>

View file

@ -638,27 +638,27 @@ console none unknown off <replaceable>insecure</repla
</sect3>
</sect2>
</sect1>
<!--
<sect2 id="boot-kernel-userconfig">
<!--
<sect2 id="boot-kernel-userconfig">
<title>UserConfig: the Boot-time Kernel Configurator</title>
<para> </para>
</sect2> -->
</sect2> -->
<sect1 xml:id="boot-splash">
<info>
<title>Configuring Boot Time Splash Screens</title>
<title>Configuring Boot Time Splash Screens</title>
<authorgroup>
<author>
<personname>
<firstname>Joseph J.</firstname>
<surname>Barbish</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
<authorgroup>
<author>
<personname>
<firstname>Joseph J.</firstname>
<surname>Barbish</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
<para>Typically when a &os; system boots, it displays its progress
as a series of messages at the console. A boot splash screen
@ -895,8 +895,8 @@ bitmap_name="/boot/<replaceable>splash.bin</replaceable>"</programlisting>
&man.reboot.8;. Refer to their manual pages and to
&man.shutdown.8; for more information.</para>
<para>Modify group membership by referring to
<xref linkend="users-synopsis"/>.</para>
<para>Modify group membership by referring to
<xref linkend="users-synopsis"/>.</para>
<note>
<para>Power management requires &man.acpi.4; to be loaded as

View file

@ -976,8 +976,8 @@ lo0: flags=8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; metric 0 mtu 16384
<para>Replace <filename>dc0</filename> with the correct value
for the system.</para>
<para>The line added, then, follow the instructions given in <xref
linkend="config-network-testing"/>.</para>
<para>The line added, then, follow the instructions given in
<xref linkend="config-network-testing"/>.</para>
<note>
<para>If the network was configured during installation, some
@ -2534,14 +2534,14 @@ device_probe_and_attach: cbb0 attach returned 12</screen>
<primary><varname>kern.ipc.soacceptqueue</varname></primary>
</indexterm>
<para>The <varname>kern.ipc.soacceptqueue</varname> &man.sysctl.8;
variable limits the size of the listen queue for accepting
new <literal>TCP</literal> connections. The default value
of <literal>128</literal> is typically too low for robust
handling of new connections on a heavily loaded web server.
For such environments, it is recommended to increase this
value to <literal>1024</literal> or higher. A service
such as &man.sendmail.8;, or
<para>The <varname>kern.ipc.soacceptqueue</varname>
&man.sysctl.8; variable limits the size of the listen queue
for accepting new <literal>TCP</literal> connections. The
default value of <literal>128</literal> is typically too low
for robust handling of new connections on a heavily loaded
web server. For such environments, it is recommended to
increase this value to <literal>1024</literal> or higher. A
service such as &man.sendmail.8;, or
<application>Apache</application> may itself limit the
listen queue size, but will often have a directive in its
configuration file to adjust the queue size. Large listen

View file

@ -682,7 +682,7 @@ before running "/usr/sbin/freebsd-update install"</screen>
<para>For information on editing and submitting corrections to the
documentation, refer to the &os; Documentation Project Primer
for New Contributors (<link
xlink:href="&url.books.fdp-primer;">http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/</link>).</para>
xlink:href="&url.books.fdp-primer;">http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/</link>).</para>
<sect2 xml:id="updating-installed-documentation">
<title>Updating Documentation from Source</title>
@ -1034,8 +1034,8 @@ before running "/usr/sbin/freebsd-update install"</screen>
<para>Synchronize with the &os.current; sources. Typically,
<link linkend="svn">svn</link> is used to check out the
-CURRENT code from the <literal>head</literal> branch of
one of the Subversion mirror
sites listed in <xref linkend="svn-mirrors"/>.</para>
one of the Subversion mirror sites listed in
<xref linkend="svn-mirrors"/>.</para>
<para>Users with very slow or limited Internet connectivity
can instead use CTM as described in <xref linkend="ctm"/>,
@ -1673,24 +1673,24 @@ Script started, output file is /var/tmp/mw.out</screen>
<sect2 xml:id="mergemaster">
<info>
<title>Merging Configuration Files</title>
<title>Merging Configuration Files</title>
<authorgroup>
<author>
<personname>
<firstname>Tom</firstname>
<surname>Rhodes</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
<authorgroup>
<author>
<personname>
<firstname>Tom</firstname>
<surname>Rhodes</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
<indexterm>
<primary>
<command>mergemaster</command>
</primary>
</indexterm>
<indexterm>
<primary>
<command>mergemaster</command>
</primary>
</indexterm>
<para>&os; provides the &man.mergemaster.8; Bourne script to aid
in determining the differences between the configuration files

View file

@ -35,9 +35,9 @@
<note>
<para>Users who prefer to install a pre-built desktop version
of FreeBSD rather than configuring one from scratch should
refer to the <link
xlink:href="http://www.pcbsd.org/">pcbsd.org
website.</link></para>
refer to the
<link xlink:href="http://www.pcbsd.org/">pcbsd.org
website.</link></para>
</note>
<para>Readers of this chapter should know how to:</para>
@ -49,8 +49,8 @@
</listitem>
<listitem>
<para>Install X and a window manager as described in <xref
linkend="x11"/>.</para>
<para>Install X and a window manager as described in
<xref linkend="x11"/>.</para>
</listitem>
</itemizedlist>
@ -400,25 +400,25 @@
<filename>/usr/local/bin/chromium</filename>.</para>
</note>
<sect3 xml:id="chromium-java-plugin">
<title>Chromium and &java; Plugin</title>
<sect3 xml:id="chromium-java-plugin">
<title>Chromium and &java; Plugin</title>
<para>The installation of
<application>Chromium</application> does not include &java;
support. To install &java; plugin support, follow the
instructions in <xref linkend="moz-java-plugin"/>.</para>
<para>The installation of
<application>Chromium</application> does not include &java;
support. To install &java; plugin support, follow the
instructions in <xref linkend="moz-java-plugin"/>.</para>
<para>Once &java; support is installed, start
<application>Chromium</application> and enter
<literal>about:plugins</literal> in the address bar.
IcedTea-Web should be listed as one of the installed
plugins.</para>
<para>Once &java; support is installed, start
<application>Chromium</application> and enter
<literal>about:plugins</literal> in the address bar.
IcedTea-Web should be listed as one of the installed
plugins.</para>
<para>If <application>Chromium</application> does not display
the IcedTea-Web plugin, run the following commands and
restart the web browser:</para>
<para>If <application>Chromium</application> does not display
the IcedTea-Web plugin, run the following commands and
restart the web browser:</para>
<screen>&prompt.root; <userinput>mkdir -p /usr/local/share/chromium/plugins
<screen>&prompt.root; <userinput>mkdir -p /usr/local/share/chromium/plugins
&prompt.root; ln -s /usr/local/lib/IcedTeaPlugin.so \
/usr/local/share/chromium/plugins/</userinput></screen>
</sect3>

View file

@ -515,12 +515,12 @@ da0: &lt;STECH Simple Drive 1.04&gt; s/n WD-WXE508CAN263 detached
<title>Automounting Removable Media</title>
<note>
<para>&man.autofs.5; supports automatic mounting of
<para>&man.autofs.5; supports automatic mounting of
removable media starting with &os;&nbsp;10.2-RELEASE.</para>
</note>
<para><acronym>USB</acronym> devices can be automatically
mounted by uncommenting this line in
mounted by uncommenting this line in
<filename>/etc/auto_master</filename>:</para>
<screen>/media -media -nosuid</screen>
@ -536,18 +536,18 @@ da0: &lt;STECH Simple Drive 1.04&gt; s/n WD-WXE508CAN263 detached
</screen>
<para>Reload the configuration if &man.autofs.5;
and &man.devd.8; are already running:</para>
and &man.devd.8; are already running:</para>
<screen>&prompt.root; <userinput>service automount reload</userinput>
&prompt.root; <userinput>service devd restart</userinput></screen>
<para>&man.autofs.5; can be set to start at boot by adding this
line to <filename>/etc/rc.conf</filename>:</para>
line to <filename>/etc/rc.conf</filename>:</para>
<programlisting>autofs_enable="YES"</programlisting>
<para>&man.autofs.5; requires &man.devd.8; to be enabled, as it
is by default.</para>
is by default.</para>
<para>Start the services immediately with:</para>
@ -557,18 +557,18 @@ da0: &lt;STECH Simple Drive 1.04&gt; s/n WD-WXE508CAN263 detached
&prompt.root; <userinput>service devd start</userinput></screen>
<para>Each file system that can be automatically mounted appears
as a directory in <filename>/media/</filename>. The directory
as a directory in <filename>/media/</filename>. The directory
is named after the file system label. If the label is
missing, the directory is named after the device node.</para>
<para>The file system is transparently mounted on the first
access, and unmounted after a period of inactivity.
access, and unmounted after a period of inactivity.
Automounted drives can also be unmounted manually:</para>
<screen>&prompt.root; <userinput>automount -fu</userinput></screen>
<para>This mechanism is typically used for memory cards and
<acronym>USB</acronym> memory sticks. It can be used with
<acronym>USB</acronym> memory sticks. It can be used with
any block device, including optical drives or
<acronym>iSCSI</acronym> <acronym>LUN</acronym>s.</para>
</sect2>

View file

@ -70,8 +70,8 @@
<itemizedlist>
<listitem>
<para>Understand &unix; and <link
linkend="basics">&os; basics</link>.</para>
<para>Understand &unix; and
<link linkend="basics">&os; basics</link>.</para>
</listitem>
<listitem>

View file

@ -67,9 +67,9 @@
and &itanium;), AMD64, Sun &ultrasparc; computers. Ports to
other architectures are also under way. You can also read about
<link linkend="history">the history of &os;</link>, or the
<link xlink:href="&url.base;/releases">current release</link>. If you are
interested in contributing something to the Project (code,
hardware, funding), see the <link
<link xlink:href="&url.base;/releases">current release</link>.
If you are interested in contributing something to the Project
(code, hardware, funding), see the <link
xlink:href="&url.articles.contributing;/index.html">Contributing
to &os;</link> article.</para>
@ -733,12 +733,12 @@
xlink:href="http://www.opnsense.org/">OPNSense</link>
<indexterm>
<primary>OPNsense</primary>
</indexterm> - OPNsense is an open source, easy-to-use and
easy-to-build FreeBSD based firewall and routing platform.
OPNsense includes most of the features available in expensive
commercial firewalls, and more in many cases. It brings the
rich feature set of commercial offerings with the benefits of
open and verifiable sources.</para>
</indexterm> - OPNsense is an open source, easy-to-use and
easy-to-build FreeBSD based firewall and routing platform.
OPNsense includes most of the features available in
expensive commercial firewalls, and more in many cases.
It brings the rich feature set of commercial offerings
with the benefits of open and verifiable sources.</para>
</listitem>
<listitem>

View file

@ -284,12 +284,17 @@ FreeBSD.org mail is handled by 10 mx1.FreeBSD.org</screen>
<sect1 xml:id="sendmail">
<info>
<title><application>Sendmail</application> Configuration
Files</title>
<title><application>Sendmail</application> Configuration
Files</title>
<authorgroup>
<author><personname><firstname>Christopher</firstname><surname>Shumway</surname></personname><contrib>Contributed
by </contrib></author>
<author>
<personname>
<firstname>Christopher</firstname>
<surname>Shumway</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
@ -553,7 +558,7 @@ other.isp.example.net
users-isp.example.org
www.example.org</programlisting>
<para>After creating or editing this file, restart
<para>After creating or editing this file, restart
<application>Sendmail</application> with
<command>service sendmail restart</command>.</para>
@ -569,16 +574,26 @@ www.example.org</programlisting>
<sect1 xml:id="mail-changingmta">
<info>
<title>Changing the Mail Transfer Agent</title>
<title>Changing the Mail Transfer Agent</title>
<authorgroup>
<author><personname><firstname>Andrew</firstname><surname>Boothman</surname></personname><contrib>Written
by </contrib></author>
<author>
<personname>
<firstname>Andrew</firstname>
<surname>Boothman</surname>
</personname>
<contrib>Written by </contrib>
</author>
</authorgroup>
<authorgroup>
<author><personname><firstname>Gregory</firstname><surname>Neil
Shapiro</surname></personname><contrib>Information taken
from emails written by </contrib></author>
<author>
<personname>
<firstname>Gregory</firstname>
<surname>Neil Shapiro</surname>
</personname>
<contrib>Information taken from emails written by </contrib>
</author>
</authorgroup>
</info>
@ -798,65 +813,67 @@ purgestat /usr/libexec/sendmail/sendmail</programlisting>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>How can I run a mail server on a dial-up PPP
host?</para>
</question>
<qandaentry>
<question>
<para>How can I run a mail server on a dial-up PPP
host?</para>
</question>
<answer>
<para>Connect to a &os; mail gateway on the LAN. The PPP
connection is non-dedicated.</para>
<answer>
<para>Connect to a &os; mail gateway on the LAN. The PPP
connection is non-dedicated.</para>
<para>One way to do this is to get a full-time Internet server
to provide secondary <acronym>MX</acronym><indexterm>
<primary>MX record</primary></indexterm> services for the
domain. In this example, the domain is <systemitem
class="fqdomainname">example.com</systemitem> and the ISP
has configured <systemitem
class="fqdomainname">example.net</systemitem> to provide
secondary <acronym>MX</acronym> services to the
domain:</para>
<para>One way to do this is to get a full-time Internet
server to provide secondary
<acronym>MX</acronym>
<indexterm><primary>MX record</primary></indexterm>
services for the domain. In this example, the domain is
<systemitem class="fqdomainname">example.com</systemitem>
and the ISP has configured
<systemitem class="fqdomainname">example.net</systemitem>
to provide secondary <acronym>MX</acronym> services to the
domain:</para>
<programlisting>example.com. MX 10 example.com.
<programlisting>example.com. MX 10 example.com.
MX 20 example.net.</programlisting>
<para>Only one host should be specified as the final
recipient. For <application>Sendmail</application>, add
<literal>Cw example.com</literal> in
<filename>/etc/mail/sendmail.cf</filename> on <systemitem
class="fqdomainname">example.com</systemitem>.</para>
<para>Only one host should be specified as the final
recipient. For <application>Sendmail</application>, add
<literal>Cw example.com</literal> in
<filename>/etc/mail/sendmail.cf</filename> on <systemitem
class="fqdomainname">example.com</systemitem>.</para>
<para>When the sending <acronym>MTA</acronym> attempts
to deliver mail, it will try to connect to the system,
<systemitem class="fqdomainname">example.com</systemitem>,
over the PPP link. This will time out if the destination is
offline. The <acronym>MTA</acronym> will automatically
deliver it to the secondary <acronym>MX</acronym> site at
the Internet Service Provider (<acronym>ISP</acronym>),
<systemitem class="fqdomainname">example.net</systemitem>.
The secondary <acronym>MX</acronym> site will periodically
try to connect to the primary <acronym>MX</acronym> host,
<systemitem
class="fqdomainname">example.com</systemitem>.</para>
<para>When the sending <acronym>MTA</acronym> attempts
to deliver mail, it will try to connect to the system,
<systemitem class="fqdomainname">example.com</systemitem>,
over the PPP link. This will time out if the destination
is offline. The <acronym>MTA</acronym> will automatically
deliver it to the secondary <acronym>MX</acronym> site at
the Internet Service Provider (<acronym>ISP</acronym>),
<systemitem class="fqdomainname">example.net</systemitem>.
The secondary <acronym>MX</acronym> site will periodically
try to connect to the primary <acronym>MX</acronym> host,
<systemitem
class="fqdomainname">example.com</systemitem>.</para>
<para>Use something like this as a login script:</para>
<para>Use something like this as a login script:</para>
<programlisting>#!/bin/sh
<programlisting>#!/bin/sh
# Put me in /usr/local/bin/pppmyisp
( sleep 60 ; /usr/sbin/sendmail -q ) &amp;
/usr/sbin/ppp -direct pppmyisp</programlisting>
<para>When creating a separate login script for users, instead
use <command>sendmail -qRexample.com</command> in the script
above. This will force all mail in the queue for
<systemitem class="fqdomainname">example.com</systemitem> to
be processed immediately.</para>
<para>When creating a separate login script for users,
instead use <command>sendmail -qRexample.com</command> in
the script above. This will force all mail in the queue
for
<systemitem class="fqdomainname">example.com</systemitem>
to be processed immediately.</para>
<para>A further refinement of the situation can be seen from
this example from the &a.isp;:</para>
<para>A further refinement of the situation can be seen from
this example from the &a.isp;:</para>
<programlisting>&gt; we provide the secondary MX for a customer. The customer connects to
<programlisting>&gt; we provide the secondary MX for a customer. The customer connects to
&gt; our services several times a day automatically to get the mails to
&gt; his primary MX (We do not call his site when a mail for his domains
&gt; arrived). Our sendmail sends the mailqueue every 30 minutes. At the
@ -952,9 +969,9 @@ example.FreeBSD.org
&prompt.root; <userinput>host example.FreeBSD.org</userinput>
example.FreeBSD.org has address 204.216.27.XX</screen>
<para>In this example, mail sent directly to <email
role="nolink">yourlogin@example.FreeBSD.org</email> should
work without problems, assuming
<para>In this example, mail sent directly to
<email role="nolink">yourlogin@example.FreeBSD.org</email>
should work without problems, assuming
<application>Sendmail</application> is running correctly on
<systemitem
class="fqdomainname">example.FreeBSD.org</systemitem>.</para>
@ -1073,11 +1090,16 @@ freefall MX 20 who.cdrom.com</programlisting>
<sect1 xml:id="outgoing-only">
<info>
<title>Setting Up to Send Only</title>
<title>Setting Up to Send Only</title>
<authorgroup>
<author><personname><firstname>Bill</firstname><surname>Moran</surname></personname><contrib>Contributed
by </contrib></author>
<author>
<personname>
<firstname>Bill</firstname>
<surname>Moran</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
@ -1237,11 +1259,16 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
<sect1 xml:id="SMTP-Auth">
<info>
<title>SMTP Authentication</title>
<title>SMTP Authentication</title>
<authorgroup>
<author><personname><firstname>James</firstname><surname>Gorham</surname></personname><contrib>Written
by </contrib></author>
<author>
<personname>
<firstname>James</firstname>
<surname>Gorham</surname>
</personname>
<contrib>Written by </contrib>
</author>
</authorgroup>
</info>
@ -1373,11 +1400,16 @@ define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl</programlis
<sect1 xml:id="mail-agents">
<info>
<title>Mail User Agents</title>
<title>Mail User Agents</title>
<authorgroup>
<author><personname><firstname>Marc</firstname><surname>Silver</surname></personname><contrib>Contributed
by </contrib></author>
<author>
<personname>
<firstname>Marc</firstname>
<surname>Silver</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
@ -1729,11 +1761,16 @@ EOT</screen>
<sect1 xml:id="mail-fetchmail">
<info>
<title>Using <application>fetchmail</application></title>
<title>Using <application>fetchmail</application></title>
<authorgroup>
<author><personname><firstname>Marc</firstname><surname>Silver</surname></personname><contrib>Contributed
by </contrib></author>
<author>
<personname>
<firstname>Marc</firstname>
<surname>Silver</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
@ -1789,9 +1826,9 @@ EOT</screen>
<para>The following <filename>.fetchmailrc</filename> serves as an
example for downloading a single user mailbox using
<acronym>POP</acronym>. It tells
<application>fetchmail</application> to connect to <systemitem
class="fqdomainname">example.com</systemitem> using a
username of <systemitem class="username">joesoap</systemitem>
<application>fetchmail</application> to connect to
<systemitem class="fqdomainname">example.com</systemitem> using
a username of <systemitem class="username">joesoap</systemitem>
and a password of <literal>XXX</literal>. This example assumes
that the user <systemitem class="username">joesoap</systemitem>
exists on the local system.</para>
@ -1825,11 +1862,16 @@ user "john", with password "XXXXX", is "myth" here;</programlisting>
<sect1 xml:id="mail-procmail">
<info>
<title>Using <application>procmail</application></title>
<title>Using <application>procmail</application></title>
<authorgroup>
<author><personname><firstname>Marc</firstname><surname>Silver</surname></personname><contrib>Contributed
by </contrib></author>
<author>
<personname>
<firstname>Marc</firstname>
<surname>Silver</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>

View file

@ -13,9 +13,9 @@
<authorgroup>
<author>
<personname>
<firstname>Ross</firstname>
<surname>Lippert</surname>
<personname>
<firstname>Ross</firstname>
<surname>Lippert</surname>
</personname>
<contrib>Edited by </contrib>
</author>
@ -96,22 +96,23 @@
<sect1 xml:id="sound-setup">
<info>
<title>Setting Up the Sound Card</title>
<title>Setting Up the Sound Card</title>
<authorgroup>
<author>
<personname>
<firstname>Moses</firstname>
<surname>Moore</surname>
</personname>
<contrib>Contributed by </contrib> <!-- in November 2000-->
<personname>
<firstname>Moses</firstname>
<surname>Moore</surname>
</personname>
<contrib>Contributed by </contrib> <!-- in November 2000-->
</author>
</authorgroup>
<authorgroup>
<author>
<personname>
<firstname>Marc</firstname>
<surname>Fonvieille</surname>
<personname>
<firstname>Marc</firstname>
<surname>Fonvieille</surname>
</personname>
<contrib>Enhanced by </contrib> <!--in September 2004-->
</author>
@ -387,107 +388,105 @@ pcm7: &lt;HDA Realtek ALC889 PCM #3 Digital&gt; at cad 2 nid 1 on hdac1
<filename>/etc/sysctl.conf</filename>:</para>
<programlisting>hw.snd.default_unit=<replaceable>4</replaceable></programlisting>
</sect2>
</sect2>
<sect2 xml:id="sound-multiple-sources">
<info>
<title>Utilizing Multiple Sound Sources</title>
<sect2 xml:id="sound-multiple-sources">
<info>
<title>Utilizing Multiple Sound Sources</title>
<authorgroup>
<author>
<personname>
<firstname>Munish</firstname>
<surname>Chopra</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
<authorgroup>
<author>
<personname>
<firstname>Munish</firstname>
<surname>Chopra</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
<para>It is often desirable to have multiple sources of sound that
are able to play simultaneously. &os; uses <quote>Virtual
Sound Channels</quote> to multiplex the sound card's playback
by mixing sound in the kernel.</para>
<para>It is often desirable to have multiple sources of sound
that are able to play simultaneously. &os; uses
<quote>Virtual Sound Channels</quote> to multiplex the sound
card's playback by mixing sound in the kernel.</para>
<para>Three &man.sysctl.8; knobs are available for configuring
virtual channels:</para>
<para>Three &man.sysctl.8; knobs are available for configuring
virtual channels:</para>
<screen>&prompt.root; <userinput>sysctl dev.pcm.0.play.vchans=4</userinput>
<screen>&prompt.root; <userinput>sysctl dev.pcm.0.play.vchans=4</userinput>
&prompt.root; <userinput>sysctl dev.pcm.0.rec.vchans=4</userinput>
&prompt.root; <userinput>sysctl hw.snd.maxautovchans=4</userinput></screen>
<para>This example allocates four virtual channels, which is a
practical number for everyday use. Both
<varname>dev.pcm.0.play.vchans=4</varname> and
<varname>dev.pcm.0.rec.vchans=4</varname> are configurable after
a device has been attached and represent the number of virtual
channels <filename>pcm0</filename> has for playback and
recording. Since the <filename>pcm</filename> module can be
loaded independently of the hardware drivers,
<varname>hw.snd.maxautovchans</varname> indicates how many
virtual channels will be given to an audio device when it is
attached. Refer to &man.pcm.4; for more information.</para>
<para>This example allocates four virtual channels, which is a
practical number for everyday use. Both
<varname>dev.pcm.0.play.vchans=4</varname> and
<varname>dev.pcm.0.rec.vchans=4</varname> are configurable
after a device has been attached and represent the number of
virtual channels <filename>pcm0</filename> has for playback
and recording. Since the <filename>pcm</filename> module can
be loaded independently of the hardware drivers,
<varname>hw.snd.maxautovchans</varname> indicates how many
virtual channels will be given to an audio device when it is
attached. Refer to &man.pcm.4; for more information.</para>
<note>
<para>The number of virtual channels for a device cannot be
changed while it is in use. First, close any programs using
the device, such as music players or sound daemons.</para>
</note>
<note>
<para>The number of virtual channels for a device cannot be
changed while it is in use. First, close any programs using
the device, such as music players or sound daemons.</para>
</note>
<para>
The correct <filename>pcm</filename> device will
automatically be allocated transparently to a program that
requests <filename>/dev/dsp0</filename>.</para>
</sect2>
<para>The correct <filename>pcm</filename> device will
automatically be allocated transparently to a program that
requests <filename>/dev/dsp0</filename>.</para>
</sect2>
<sect2>
<sect2>
<info>
<title>Setting Default Values for Mixer Channels</title>
<authorgroup>
<author>
<personname>
<firstname>Josef</firstname>
<surname>El-Rayes</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</info>
<para>The default values for the different mixer channels are
hardcoded in the source code of the &man.pcm.4; driver. While
sound card mixer levels can be changed using &man.mixer.8; or
third-party applications and daemons, this is not a permanent
solution. To instead set default mixer values at the driver
level, define the appropriate values in
<filename>/boot/device.hints</filename>, as seen in this
example:</para>
<programlisting>hint.pcm.0.vol="50"</programlisting>
<para>This will set the volume channel to a default value of
<literal>50</literal> when the &man.pcm.4; module is
loaded.</para>
</sect2>
</sect1>
<sect1 xml:id="sound-mp3">
<info>
<title>Setting Default Values for Mixer Channels</title>
<title>MP3 Audio</title>
<authorgroup>
<author>
<personname>
<firstname>Josef</firstname>
<surname>El-Rayes</surname>
</personname>
<contrib>Contributed by </contrib>
<personname>
<firstname>Chern</firstname>
<surname>Lee</surname>
</personname>
<contrib>Contributed by </contrib> <!--in Sept 2001-->
</author>
</authorgroup>
</info>
<para>The default values for the different mixer channels are
hardcoded in the source code of the &man.pcm.4; driver. While
sound card mixer levels can be changed using &man.mixer.8; or
third-party applications and daemons, this is not a permanent
solution. To instead set default mixer values at the driver
level, define the appropriate values in
<filename>/boot/device.hints</filename>, as seen in this
example:</para>
<programlisting>hint.pcm.0.vol="50"</programlisting>
<para>This will set the volume channel to a default value of
<literal>50</literal> when the &man.pcm.4; module is
loaded.</para>
</sect2>
</sect1>
<sect1 xml:id="sound-mp3">
<info>
<title>MP3 Audio</title>
<authorgroup>
<author>
<personname>
<firstname>Chern</firstname>
<surname>Lee</surname>
</personname>
<contrib>Contributed by </contrib> <!--in Sept 2001-->
</author>
</authorgroup>
</info>
<para>This section describes some <acronym>MP3</acronym>
players available for &os;, how to rip audio
<acronym>CD</acronym> tracks, and how to encode and decode
@ -540,16 +539,16 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
<acronym>CD</acronym>s.</para>
<para>With the audio <acronym>CD</acronym> in the drive, the
following command can be issued as <systemitem
class="username">root</systemitem> to rip an entire
<acronym>CD</acronym> into individual, per track,
following command can be issued as
<systemitem class="username">root</systemitem> to rip an
entire <acronym>CD</acronym> into individual, per track,
<acronym>WAV</acronym> files:</para>
<screen>&prompt.root; <userinput>cdda2wav -D <replaceable>0,1,0</replaceable> -B</userinput></screen>
<para>In this example, the <option>-D
<replaceable>0,1,0</replaceable></option> indicates the
<acronym>SCSI</acronym> device <filename>0,1,0</filename>
<para>In this example, the
<option>-D <replaceable>0,1,0</replaceable></option> indicates
the <acronym>SCSI</acronym> device <filename>0,1,0</filename>
containing the <acronym>CD</acronym> to rip. Use
<command>cdrecord -scanbus</command> to determine the correct
device parameters for the system.</para>
@ -580,8 +579,7 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
<sect2 xml:id="mp3-encoding">
<title>Encoding and Decoding MP3s</title>
<para>
<application>Lame</application> is a popular
<para><application>Lame</application> is a popular
<acronym>MP3</acronym> encoder which can be installed from the
<package>audio/lame</package> port. Due to patent issues, a
package is not available.</para>
@ -598,12 +596,13 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
<acronym>MP3</acronym> bitrate while the 160 and 192 bitrates
provide higher quality. The higher the bitrate, the larger
the size of the resulting <acronym>MP3</acronym>. The
<option>-h</option> turns on the <quote>higher quality but a
little slower</quote> mode. The options beginning with
<option>--t</option> indicate <acronym>ID3</acronym> tags,
which usually contain song information, to be embedded within
the <acronym>MP3</acronym> file. Additional encoding options
can be found in the <application>lame</application> manual
<option>-h</option> turns on the
<quote>higher quality but a little slower</quote>
mode. The options beginning with <option>--t</option>
indicate <acronym>ID3</acronym> tags, which usually contain
song information, to be embedded within the
<acronym>MP3</acronym> file. Additional encoding options can
be found in the <application>lame</application> manual
page.</para>
<para>In order to burn an audio <acronym>CD</acronym> from
@ -695,13 +694,13 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
<sect1 xml:id="video-playback">
<info>
<title>Video Playback</title>
<title>Video Playback</title>
<authorgroup>
<author>
<personname>
<firstname>Ross</firstname>
<surname>Lippert</surname>
<personname>
<firstname>Ross</firstname>
<surname>Lippert</surname>
</personname>
<contrib>Contributed by </contrib> <!--in June 2002-->
</author>
@ -1152,27 +1151,28 @@ zoom=yes</programlisting>
<sect1 xml:id="tvcard">
<info>
<title>TV Cards</title>
<title>TV Cards</title>
<authorgroup>
<author>
<personname>
<firstname>Josef</firstname>
<surname>El-Rayes</surname>
</personname>
<contrib>Original contribution by </contrib>
</author>
</authorgroup>
<authorgroup>
<author>
<personname>
<firstname>Marc</firstname>
<surname>Fonvieille</surname>
</personname>
<contrib>Enhanced and adapted by </contrib> <!-- in January 2004-->
</author>
</authorgroup>
</info>
<authorgroup>
<author>
<personname>
<firstname>Josef</firstname>
<surname>El-Rayes</surname>
</personname>
<contrib>Original contribution by </contrib>
</author>
</authorgroup>
<authorgroup>
<author>
<personname>
<firstname>Marc</firstname>
<surname>Fonvieille</surname>
</personname>
<contrib>Enhanced and adapted by </contrib> <!-- in January 2004-->
</author>
</authorgroup>
</info>
<indexterm>
<primary>TV cards</primary>
@ -1360,13 +1360,13 @@ bktr0: Pinnacle/Miro TV, Philips SECAM tuner.</programlisting>
<sect1 xml:id="scanners">
<info>
<title>Image Scanners</title>
<title>Image Scanners</title>
<authorgroup>
<author>
<personname>
<firstname>Marc</firstname>
<surname>Fonvieille</surname>
<personname>
<firstname>Marc</firstname>
<surname>Fonvieille</surname>
</personname>
<contrib>Written by </contrib> <!-- in August 2004-->
</author>

File diff suppressed because it is too large Load diff

View file

@ -29,7 +29,7 @@
<link xlink:href="&url.articles.pgpkeys;"><acronym>PGP</acronym>
Keys</link> article. The complete keyring can be downloaded
at <link
xlink:href="https://www.FreeBSD.org/doc/pgpkeyring.txt">https://www.FreeBSD.org/doc/pgpkeyring.txt</link>.</para>
xlink:href="https://www.FreeBSD.org/doc/pgpkeyring.txt">https://www.FreeBSD.org/doc/pgpkeyring.txt</link>.</para>
<sect1 xml:id="pgpkeys-officers">
<title>Officers</title>

View file

@ -2863,10 +2863,10 @@ user@unfirewalled-system.example.org's password: <userinput>*******</userinput><
other <acronym>SSH</acronym> clients.</para>
<para>To see if <application>sshd</application> is operating,
use the &man.service.8; command:</para>
use the &man.service.8; command:</para>
<screen>&prompt.root; <userinput>service sshd status</userinput></screen>
<para>If the service is not running, add the following line to
<filename>/etc/rc.conf</filename>.</para>

View file

@ -633,16 +633,15 @@
<sect1 xml:id="term">
<info>
<title>Terminals</title>
<title>Terminals</title>
<authorgroup>
<author>
<personname>
<firstname>Sean</firstname>
<surname>Kelly</surname>
</personname>
<contrib>Contributed by </contrib>
<!--in July 1996 -->
<personname>
<firstname>Sean</firstname>
<surname>Kelly</surname>
</personname>
<contrib>Contributed by </contrib> <!--in July 1996 -->
</author>
</authorgroup>
</info>
@ -967,22 +966,23 @@ ttyu5 "/usr/libexec/getty std.19200" vt100 on insecure</programlisting>
<sect1 xml:id="dialup">
<info>
<title>Dial-in Service</title>
<title>Dial-in Service</title>
<authorgroup>
<author>
<personname>
<firstname>Guy</firstname>
<surname>Helmer</surname>
<personname>
<firstname>Guy</firstname>
<surname>Helmer</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
<authorgroup>
<author>
<personname>
<firstname>Sean</firstname>
<surname>Kelly</surname>
<personname>
<firstname>Sean</firstname>
<surname>Kelly</surname>
</personname>
<contrib>Additions by </contrib>
</author>
@ -1734,22 +1734,23 @@ raisechar=^^</programlisting>
<sect1 xml:id="serialconsole-setup">
<info>
<title>Setting Up the Serial Console</title>
<title>Setting Up the Serial Console</title>
<authorgroup>
<author>
<personname>
<firstname>Kazutaka</firstname>
<surname>YOKOTA</surname>
<personname>
<firstname>Kazutaka</firstname>
<surname>YOKOTA</surname>
</personname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
<authorgroup>
<author>
<personname>
<firstname>Bill</firstname>
<surname>Paul</surname>
<personname>
<firstname>Bill</firstname>
<surname>Paul</surname>
</personname>
<contrib>Based on a document by </contrib>
</author>

View file

@ -988,31 +988,30 @@ perm pass* 0660</programlisting>
<title>&os; as a Host with
<application>bhyve</application></title>
<para>The
<application>bhyve</application> <acronym>BSD</acronym>-licensed
hypervisor became part of the base system with &os; 10.0-RELEASE. This hypervisor supports
a number of guests, including &os;, OpenBSD, and many &linux;
<para>The <application>bhyve</application>
<acronym>BSD</acronym>-licensed hypervisor became part of the
base system with &os; 10.0-RELEASE. This hypervisor supports a
number of guests, including &os;, OpenBSD, and many &linux;
distributions. Currently, <application>bhyve</application> only
supports a serial console and does not emulate a graphical
console.
Virtualization offload features of newer
<acronym>CPU</acronym>s are used to avoid the legacy methods of translating instructions and
manually managing memory mappings.</para>
console. Virtualization offload features of newer
<acronym>CPU</acronym>s are used to avoid the legacy methods of
translating instructions and manually managing memory
mappings.</para>
<para>The <application>bhyve</application> design
requires a processor that supports &intel;
Extended Page Tables (<acronym>EPT</acronym>) or &amd; Rapid
Virtualization Indexing (<acronym>RVI</acronym>) or
Nested Page Tables (<acronym>NPT</acronym>). Hosting
&linux; guests or &os; guests with more than one
<acronym>vCPU</acronym> requires <acronym>VMX</acronym> unrestricted
mode support (<acronym>UG</acronym>). Most
newer processors, specifically the &intel;&nbsp; &core;
i3/i5/i7 and &intel;&nbsp; &xeon; E3/E5/E7, support these
features. <acronym>UG</acronym> support was introduced with
Intel's Westmere micro-architecture. For a complete list of
&intel; processors that support <acronym>EPT</acronym>, refer
to <link
<para>The <application>bhyve</application> design requires a
processor that supports &intel; Extended Page Tables
(<acronym>EPT</acronym>) or &amd; Rapid Virtualization Indexing
(<acronym>RVI</acronym>) or Nested Page Tables
(<acronym>NPT</acronym>). Hosting &linux; guests or &os; guests
with more than one <acronym>vCPU</acronym> requires
<acronym>VMX</acronym> unrestricted mode support
(<acronym>UG</acronym>). Most newer processors, specifically
the &intel;&nbsp;&core; i3/i5/i7 and &intel;&nbsp;&xeon;
E3/E5/E7, support these features. <acronym>UG</acronym> support
was introduced with Intel's Westmere micro-architecture. For a
complete list of &intel; processors that support
<acronym>EPT</acronym>, refer to <link
xlink:href="http://ark.intel.com/search/advanced?s=t&amp;ExtendedPageTables=true"/>.
<acronym>RVI</acronym> is found on the third generation and
later of the &amd.opteron; (Barcelona) processors. The easiest
@ -1021,9 +1020,9 @@ perm pass* 0660</programlisting>
<command>dmesg</command> or look in
<filename>/var/run/dmesg.boot</filename> for the
<literal>POPCNT</literal> processor feature flag on the
<literal>Features2</literal> line for &amd; processors or <literal>EPT</literal> and
<literal>UG</literal> on the <literal>VT-x</literal>
line for &intel; processors.</para>
<literal>Features2</literal> line for &amd; processors or
<literal>EPT</literal> and <literal>UG</literal> on the
<literal>VT-x</literal> line for &intel; processors.</para>
<sect2 xml:id="virtualization-bhyve-prep">
<title>Preparing the Host</title>

View file

@ -416,7 +416,7 @@
<para>Driver name: <literal>intel</literal></para>
<para>For reference, see <link
xlink:href="https://en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units"/>.</para>
xlink:href="https://en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units"/>.</para>
</listitem>
</varlistentry>
@ -430,7 +430,7 @@
<para>Driver name: <literal>radeon</literal></para>
<para>For reference, see <link
xlink:href="https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units"/>.</para>
xlink:href="https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units"/>.</para>
</listitem>
</varlistentry>
@ -444,7 +444,7 @@
card.</para>
<para>For reference, see <link
xlink:href="https://en.wikipedia.org/wiki/List_of_Nvidia_graphics_processing_units"/>.</para>
xlink:href="https://en.wikipedia.org/wiki/List_of_Nvidia_graphics_processing_units"/>.</para>
</listitem>
</varlistentry>
@ -968,21 +968,23 @@ EndSection</programlisting>
<programlisting>Load "freetype"</programlisting>
<para>Now make a directory for the &truetype; fonts (for
example,
<filename>/usr/local/share/fonts/TrueType</filename>) and
copy all of the &truetype; fonts into this directory. Keep in
mind that &truetype; fonts cannot be directly taken from an
&apple; &mac;; they must be in &unix;/&ms-dos;/&windows;
format for use by <application>&xorg;</application>. Once the
files have been copied into this directory, use
example, <filename>/usr/local/share/fonts/TrueType</filename>)
and copy all of the &truetype; fonts into this directory.
Keep in mind that &truetype; fonts cannot be directly taken
from an &apple; &mac;; they must be in
&unix;/&ms-dos;/&windows; format for use by
<application>&xorg;</application>. Once the files have been
copied into this directory, use
<application>mkfontdir</application> to create a
<filename>fonts.dir</filename>, so that the X font renderer
knows that these new files have been installed.
<command>mkfontdir</command> can be installed as a package:</para>
<command>mkfontdir</command> can be installed as a
package:</para>
<screen>&prompt.root; <userinput>pkg install mkfontdir</userinput></screen>
<para>Then create an index of X font files in a directory:</para>
<para>Then create an index of X font files in a
directory:</para>
<screen>&prompt.root; <userinput>cd /usr/local/share/fonts/TrueType</userinput>
&prompt.root; <userinput>mkfontdir</userinput></screen>
@ -998,12 +1000,12 @@ EndSection</programlisting>
<filename>xorg.conf</filename>.</para>
<para>Now <application>Gimp</application>,
<application>Apache OpenOffice</application>, and all of the other X
applications should now recognize the installed &truetype;
fonts. Extremely small fonts (as with text in a high
resolution display on a web page) and extremely large fonts
(within <application>&staroffice;</application>) will look
much better now.</para>
<application>Apache OpenOffice</application>, and all of the
other X applications should now recognize the installed
&truetype; fonts. Extremely small fonts (as with text in a
high resolution display on a web page) and extremely large
fonts (within <application>&staroffice;</application>) will
look much better now.</para>
</sect2>
<sect2 xml:id="antialias">
@ -1427,11 +1429,11 @@ DisplayManager.requestPort: 0</screen>
<para><application>GNOME</application> uses
<application>D-Bus</application> and
<application>HAL</application> for a
message bus and hardware abstraction. These applications are automatically
installed as dependencies of <application>GNOME</application>.
Enable them in <filename>/etc/rc.conf</filename> so
they will be started when the system boots:</para>
<application>HAL</application> for a message bus and hardware
abstraction. These applications are automatically installed
as dependencies of <application>GNOME</application>. Enable
them in <filename>/etc/rc.conf</filename> so they will be
started when the system boots:</para>
<programlisting>dbus_enable="YES"
hald_enable="YES"</programlisting>
@ -1520,11 +1522,11 @@ hald_enable="YES"</programlisting>
<para><application>KDE</application> uses
<application>D-Bus</application> and
<application>HAL</application> for a
message bus and hardware abstraction. These applications are automatically
installed as dependencies of <application>KDE</application>.
Enable them in <filename>/etc/rc.conf</filename> so
they will be started when the system boots:</para>
<application>HAL</application> for a message bus and hardware
abstraction. These applications are automatically installed
as dependencies of <application>KDE</application>. Enable
them in <filename>/etc/rc.conf</filename> so they will be
started when the system boots:</para>
<programlisting>dbus_enable="YES"
hald_enable="YES"</programlisting>