Date: Fri, 1 Feb 2002 00:56:48 +0100 (CET) From: Martin Heinen <martin@sumuk.de> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/34509: [PATCH] cosmetic for Floppy section Message-ID: <200201312356.g0VNuml56066@sumuk.de>
index | next in thread | raw e-mail
>Number: 34509
>Category: docs
>Synopsis: [PATCH] cosmetic for Floppy section
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 31 16:00:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Martin Heinen
>Release: FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD Moses.earth.sol 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Dec 22 07:35:30 CET 2001 toor@Moses.earth.sol:/usr/obj/usr/src/sys/MOSES i386
>Description:
throught -> through
put variable parts inside <replaceable>
>How-To-Repeat:
read the section 'Floppy disks' in the handbook
>Fix:
Index: chapter.sgml
===================================================================
RCS file: /u/cvs/doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml,v
retrieving revision 1.78
diff -u -r1.78 chapter.sgml
--- chapter.sgml 31 Jan 2002 08:10:08 -0000 1.78
+++ chapter.sgml 31 Jan 2002 23:36:03 -0000
@@ -2022,17 +2022,17 @@
<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 @@
<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 @@
<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>
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201312356.g0VNuml56066>
