Suddenly realised none of the
<informalexample> <screen> ... </screen> </informalexample> need the <informalexample> element. So remove it. Simple search and replace does the trick.
This commit is contained in:
parent
84b6327dc0
commit
7321b94099
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=4157
66 changed files with 1825 additions and 1830 deletions
|
@ -28,7 +28,7 @@
|
|||
following example which is the output of the command
|
||||
<command>netstat -r</command>:</para>
|
||||
|
||||
<informalexample>
|
||||
|
||||
<screen>Destination Gateway Flags Refs Use Netif Expire
|
||||
|
||||
default outside-gw UGSc 37 418 ppp0
|
||||
|
@ -40,7 +40,7 @@ host1 0:e0:a8:37:8:1e UHLW 3 4601 lo0
|
|||
host2 0:e0:a8:37:8:1e UHLW 0 5 lo0 =>
|
||||
host2.foobar.com link#1 UC 0 0
|
||||
224 link#1 UC 0 0</screen>
|
||||
</informalexample>
|
||||
|
||||
|
||||
<para>The first two lines specify the default route (which we will
|
||||
cover in the next section) and the <hostid>localhost</hostid> route.</para>
|
||||
|
@ -382,9 +382,9 @@ fastws:/sharedfs /project nfs rw,-r=1024 0 0</programlisting>
|
|||
|
||||
<para>As a manual mount command on <hostid>freebox</hostid>:</para>
|
||||
|
||||
<informalexample>
|
||||
|
||||
<screen>&prompt.root; <userinput>mount -t nfs -o -r=1024 fastws:/sharedfs /project</userinput></screen>
|
||||
</informalexample>
|
||||
|
||||
|
||||
<para>Examples for the FreeBSD system as the server: in
|
||||
<filename>/etc/fstab</filename> on <hostid>fastws</hostid>:</para>
|
||||
|
@ -394,9 +394,9 @@ freebox:/sharedfs /project nfs rw,-w=1024 0 0</programlisting>
|
|||
|
||||
<para>As a manual mount command on <hostid>fastws</hostid>:</para>
|
||||
|
||||
<informalexample>
|
||||
|
||||
<screen>&prompt.root; <userinput>mount -t nfs -o -w=1024 freebox:/sharedfs /project</userinput></screen>
|
||||
</informalexample>
|
||||
|
||||
|
||||
<para>Nearly any 16-bit Ethernet adapter will allow operation without
|
||||
the above restrictions on the read or write size.</para>
|
||||
|
@ -617,18 +617,18 @@ hostname myclient.mydomain</programlisting>
|
|||
<filename>/swapfs/swap.<replaceable>X.X.X.X</replaceable></filename> where
|
||||
<replaceable>X.X.X.X</replaceable> is the client's IP addr, eg:</para>
|
||||
|
||||
<informalexample>
|
||||
|
||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=/swapfs/swap.192.1.2.4 bs=1k count=20000</userinput></screen>
|
||||
</informalexample>
|
||||
|
||||
|
||||
<para>Also, the client's swap space might
|
||||
contain sensitive information once swapping starts, so make
|
||||
sure to restrict read and write access to this file to
|
||||
prevent unauthorized access:</para>
|
||||
|
||||
<informalexample>
|
||||
|
||||
<screen>&prompt.root; <userinput>chmod 0600 /swapfs/swap.192.1.2.4</userinput></screen>
|
||||
</informalexample>
|
||||
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue