Subject: misc/36956: NetBSD Guide fixes
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jason White <jdwhite@menelos.com>
List: netbsd-bugs
Date: 09/09/2007 16:05:00
>Number:         36956
>Category:       misc
>Synopsis:       Minor fixed for the NetBSD Guide Raidframe chapter.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 09 16:05:00 +0000 2007
>Originator:     Jason White
>Release:        NetBSD 3.1
>Organization:
Jason White <jdwhite@menelos.com>       Jabber: jdwhite(jabber.org)
http://jdwhite.menelos.com/                     jason.d.white(gmail.com)
PGP KeyID: 0x5290E477
>Environment:
System: NetBSD bender.menelos.com 3.1 NetBSD 3.1 (BENDER_XEN2_DOMU) #0: Sat Nov 18 20:00:43 CST 2006 root@smeghead:/usr/obj/i386/BENDER_XEN2_DOMU i386
Architecture: i386
Machine: i386
>Description:
The Raidframe chapter has some minor grammatical oddities (not that I claim 
to have found them all) and one of the disklabel examples has the size and 
offset fields swapped.
>How-To-Repeat:
>Fix:
Patch attached.

--- chap-rf.html.orig	2007-09-09 10:54:31.000000000 -0500
+++ chap-rf.html	2007-09-09 10:57:53.000000000 -0500
@@ -876,7 +876,7 @@
   19015807        # offset of swap within wd1
   q
   </pre>
-<p>We know now that real offset of the still-nonexisting wd1b 
+<p>We know now the real offset of the still-nonexisting wd1b 
         is 19015807 and size is 525184. Next we need to add wd1b to 
 	wd1's disklabel.</p>
 <pre class="screen">
@@ -950,7 +950,7 @@
   288240          # Our real, smaller swap/dump size of wd1b
   q
   </pre>
-<p>We know now that real offset of the still-nonexisting wd1b 
+<p>We know now the real offset of the still-nonexisting wd1b 
         is 19251792 and size is 288240. Next we need to add wd1b to 
 	wd1's disklabel.</p>
 <pre class="screen">
@@ -960,7 +960,7 @@
   8 partitions:
   #        size    offset     fstype  [fsize bsize cpg/sgs]
    a:  19541088         0       RAID                     # (Cyl.      0 -  19385)
-   b:  19251792    288240       swap
+   b:    288240  19251792       swap
    c:  19541088         0     unused      0     0        # (Cyl.      0 -  19385)  
   </pre>
 <p>Next we install the new disklabel.</p>