Various fixes:

* throught -> through
    * put variable parts in <replaceable> tags

PR:		34509
Submitted by:	Martin Heinen <martin@sumuk.de>
This commit is contained in:
Jim Mock 2002-02-01 09:41:55 +00:00
parent 347c8a162d
commit f2e89eb062
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12049

View file

@ -2022,17 +2022,17 @@ echo "The floppy has been unmounted and is now ready."]]></programlisting>
<sect2>
<title>The device</title>
<para>Floppy disks are accessed throught entries in
<para>Floppy disks are accessed through entries in
<filename>/dev</filename> (like any other device). To access the
raw floppy disk you can use <filename>/dev/rfdX</filename>,
where X stands for the drive number, usually 0. When the disk is
formatted you can use <filename>/dev/fdX</filename>, or
raw floppy disk you can use <filename>/dev/rfd<replaceable>X</replaceable></filename>,
where <replaceable>X</replaceable> stands for the drive number, usually 0. When the disk is
formatted you can use <filename>/dev/fd<replaceable>X</replaceable></filename>, or
whichever of the other devices named
<filename>/dev/fdXY</filename>, where Y stands for a
<filename>/dev/fd<replaceable>XY</replaceable></filename>, where <replaceable>Y</replaceable> stands for a
letter. These are all the same.</para>
<para>Other important devices are
<filename>/dev/fdX.size</filename>, where size is a floppy disk
<filename>/dev/fd<replaceable>X</replaceable>.<replaceable>size</replaceable></filename>, where <replaceable>size</replaceable> is a floppy disk
size in kilobytes. These entries are used at low-level format
time to determine the disk size.</para>
@ -2053,7 +2053,7 @@ echo "The floppy has been unmounted and is now ready."]]></programlisting>
<para>To format the floppy at a low-level fashion you need to
use <application>fdformat</application>. This utility expects
the device name as an argument. We will use those
<filename>/dev/fdX.size</filename> devices, which will allow us
<filename>/dev/fd<replaceable>X</replaceable>.<replaceable>size</replaceable></filename> devices, which will allow us
to format the floppy to its real size, or force them. So you
insert a new 3.5inch floppy disk in your drive and issue:</para>
@ -2092,9 +2092,9 @@ echo "The floppy has been unmounted and is now ready."]]></programlisting>
<para>You can run now <application>disklabel</application>
like:</para>
<screen>&prompt.root; <userinput>/sbin/disklabel -B -r -w /dev/rfd0 fd(size)</userinput></screen>
<screen>&prompt.root; <userinput>/sbin/disklabel -B -r -w /dev/rfd0 <replaceable>fdsize</replaceable></userinput></screen>
<para>Replace fd(size) with fd1440, fd1720 or whichever size you
<para>Replace <replaceable>fdsize</replaceable> with <literal>fd1440</literal>, <literal>fd1720</literal> or whichever size you
want. The last field instructs disklabel which entry to take
from <filename>/etc/disktab</filename> to use.</para>
</sect2>