Mark directory paths with class="directory" in <filename> elements.

Approved by:	gjb (mentor)
This commit is contained in:
Giorgos Keramidas 2013-03-12 14:45:00 +00:00
parent d3ba449cb5
commit 474894219b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41177

View file

@ -1274,7 +1274,7 @@ ifconfig_wlan0="WPA DHCP"</programlisting>
<para>Then we can bring up the interface:</para> <para>Then we can bring up the interface:</para>
<screen>&prompt.root; <userinput><filename>service netif</filename> start</userinput> <screen>&prompt.root; <userinput>service netif start</userinput>
Starting wpa_supplicant. Starting wpa_supplicant.
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
@ -2189,8 +2189,8 @@ freebsdap 00:11:95:c3:0d:ac 1 54M 22:1 100 EPS</screen>
can enable debugging messages in the 802.11 protocol can enable debugging messages in the 802.11 protocol
support layer using the <command>wlandebug</command> support layer using the <command>wlandebug</command>
program found in program found in
<filename>/usr/src/tools/tools/net80211</filename>. For <filename class="directory">/usr/src/tools/tools/net80211</filename>.
example:</para> For example:</para>
<screen>&prompt.root; <userinput>wlandebug -i <replaceable>ath0</replaceable> +scan+auth+debug+assoc</userinput> <screen>&prompt.root; <userinput>wlandebug -i <replaceable>ath0</replaceable> +scan+auth+debug+assoc</userinput>
net.wlan.0.debug: 0 =&gt; 0xc80000&lt;assoc,auth,scan&gt;</screen> net.wlan.0.debug: 0 =&gt; 0xc80000&lt;assoc,auth,scan&gt;</screen>
@ -2760,7 +2760,8 @@ Success, response: OK, Success (0x20)</screen>
<para>In order to provide OBEX Object Push service, &man.sdpd.8; <para>In order to provide OBEX Object Push service, &man.sdpd.8;
server must be running. A root folder, where all incoming server must be running. A root folder, where all incoming
objects will be stored, must be created. The default path to objects will be stored, must be created. The default path to
the root folder is <filename>/var/spool/obex</filename>. the root folder
is <filename class="directory">/var/spool/obex</filename>.
Finally, start OBEX server on valid RFCOMM channel number. Finally, start OBEX server on valid RFCOMM channel number.
The OBEX server will automatically register OBEX Object Push The OBEX server will automatically register OBEX Object Push
service with the local SDP daemon. The example below shows service with the local SDP daemon. The example below shows
@ -3689,9 +3690,9 @@ ifconfig_<literal>lagg<replaceable>0</replaceable></literal>="laggproto failover
</listitem> </listitem>
<listitem> <listitem>
<para>Standard system startup files exist in <para>Standard system startup files exist
<filename>/etc</filename> to detect and support a diskless in <filename class="directory">/etc</filename>
system startup.</para> to detect and support a diskless system startup.</para>
</listitem> </listitem>
<listitem> <listitem>
@ -3710,8 +3711,9 @@ ifconfig_<literal>lagg<replaceable>0</replaceable></literal>="laggproto failover
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para>The diskless workstations use a shared read-only <para>The diskless workstations use a shared read-only
<filename>/</filename> file system, and a shared <filename class="directory">/</filename> file system,
read-only <filename>/usr</filename>.</para> and a shared read-only
<filename class="directory">/usr</filename>.</para>
<para>The root file system is a copy of a standard FreeBSD <para>The root file system is a copy of a standard FreeBSD
root (typically the server's), with some configuration files root (typically the server's), with some configuration files
@ -4034,8 +4036,9 @@ margaux:ha=0123456789ab:tc=.def100</programlisting>
<para>To make a boot floppy, insert a floppy in the drive on <para>To make a boot floppy, insert a floppy in the drive on
the machine where you installed the machine where you installed
<application>Etherboot</application>, then change your <application>Etherboot</application>, then change your
current directory to the <filename>src</filename> directory current directory to
in the <application>Etherboot</application> tree and the <filename class="directory">src</filename>
directory in the <application>Etherboot</application> tree and
type:</para> type:</para>
<screen>&prompt.root; <userinput>gmake bin32/<replaceable>devicetype</replaceable>.fd0</userinput></screen> <screen>&prompt.root; <userinput>gmake bin32/<replaceable>devicetype</replaceable>.fd0</userinput></screen>
@ -4093,7 +4096,7 @@ margaux:ha=0123456789ab:tc=.def100</programlisting>
<step> <step>
<para>Create a directory from which <para>Create a directory from which
<application>tftpd</application> will serve the files, <application>tftpd</application> will serve the files,
e.g., <filename>/tftpboot</filename>.</para> e.g., <filename class="directory">/tftpboot</filename>.</para>
</step> </step>
<step> <step>
@ -4123,7 +4126,8 @@ margaux:ha=0123456789ab:tc=.def100</programlisting>
</step> </step>
</procedure> </procedure>
<para>You can place the <filename>tftpboot</filename> <para>You can place
the <filename class="directory">tftpboot</filename>
directory anywhere on the server. Make sure that the directory anywhere on the server. Make sure that the
location is set in both <filename>inetd.conf</filename> and location is set in both <filename>inetd.conf</filename> and
<filename>dhcpd.conf</filename>.</para> <filename>dhcpd.conf</filename>.</para>
@ -4286,7 +4290,7 @@ cd /usr/src/etc; make distribution</programlisting>
<sect4> <sect4>
<title>Running with a Read-only <title>Running with a Read-only
<filename>/usr</filename></title> <filename class="directory">/usr</filename></title>
<indexterm> <indexterm>
<primary>diskless operation</primary> <primary>diskless operation</primary>
@ -4296,7 +4300,8 @@ cd /usr/src/etc; make distribution</programlisting>
<para>If the diskless workstation is configured to run X, <para>If the diskless workstation is configured to run X,
you will have to adjust the you will have to adjust the
<application>XDM</application> configuration file, which <application>XDM</application> configuration file, which
puts the error log on <filename>/usr</filename> by puts the error log
on <filename class="directory">/usr</filename> by
default.</para> default.</para>
</sect4> </sect4>
@ -4310,7 +4315,8 @@ cd /usr/src/etc; make distribution</programlisting>
<command>cpio</command>.</para> <command>cpio</command>.</para>
<para>In this situation, there are sometimes problems with <para>In this situation, there are sometimes problems with
the special files in <filename>/dev</filename>, due to the special files
in <filename class="directory">/dev</filename>, due to
differing major/minor integer sizes. A solution to this differing major/minor integer sizes. A solution to this
problem is to export a directory from the non-FreeBSD problem is to export a directory from the non-FreeBSD
server, mount this directory onto a FreeBSD machine, and server, mount this directory onto a FreeBSD machine, and
@ -4370,7 +4376,7 @@ cd /usr/src/etc; make distribution</programlisting>
<para>Choose a directory which will have a &os; <para>Choose a directory which will have a &os;
installation which will be NFS mountable. For example, a installation which will be NFS mountable. For example, a
directory such as directory such as
<filename>/b/tftpboot/FreeBSD/install</filename> can be <filename class="directory">/b/tftpboot/FreeBSD/install</filename> can be
used.</para> used.</para>
<screen>&prompt.root; <userinput>export NFSROOTDIR=/b/tftpboot/FreeBSD/install</userinput> <screen>&prompt.root; <userinput>export NFSROOTDIR=/b/tftpboot/FreeBSD/install</userinput>
@ -4500,8 +4506,10 @@ myhost.example.com:/b/tftpboot/FreeBSD/install / nfs ro
<filename>/etc/rc</filename> detects that you booted over NFS <filename>/etc/rc</filename> detects that you booted over NFS
and runs the <filename>/etc/rc.initdiskless</filename> script. and runs the <filename>/etc/rc.initdiskless</filename> script.
Read the comments in this script to understand what is going Read the comments in this script to understand what is going
on. We need to make <filename>/etc</filename> and on. We need to
<filename>/var</filename> memory backed file systems because make <filename class="directory">/etc</filename>
and <filename class="directory">/var</filename>
memory backed file systems because
these directories need to be writable, but the NFS root these directories need to be writable, but the NFS root
directory is read-only.</para> directory is read-only.</para>
@ -4510,8 +4518,9 @@ myhost.example.com:/b/tftpboot/FreeBSD/install / nfs ro
&prompt.root; <userinput>tar -c -v -f conf/base/etc.cpio.gz --format cpio --gzip etc</userinput> &prompt.root; <userinput>tar -c -v -f conf/base/etc.cpio.gz --format cpio --gzip etc</userinput>
&prompt.root; <userinput>tar -c -v -f conf/base/var.cpio.gz --format cpio --gzip var</userinput></screen> &prompt.root; <userinput>tar -c -v -f conf/base/var.cpio.gz --format cpio --gzip var</userinput></screen>
<para>When the system boots, memory file systems for <para>When the system boots, memory file systems
<filename>/etc</filename> and <filename>/var</filename> will for <filename class="directory">/etc</filename>
and <filename class="directory">/var</filename> will
be created and mounted, and the contents of the be created and mounted, and the contents of the
<filename>cpio.gz</filename> files will be copied into <filename>cpio.gz</filename> files will be copied into
them.</para> them.</para>