Date: Wed, 5 Sep 2001 14:31:13 -0700 From: Jeremy Chadwick <jdc@parodius.com> To: Christopher Shumway <cshumway@titan-project.org> Cc: doc@FreeBSD.ORG Subject: Re: Error in handbook, section 12.9 Message-ID: <20010905143113.A83018@parodius.com> In-Reply-To: <20010904180540.G61071-100000@titan.titan-project.org> References: <20010830210148.A53286@parodius.com> <20010904180540.G61071-100000@titan.titan-project.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 04, 2001 at 06:08:40PM -0700, cshumway@titan-project.org wrote: > On Thu, 30 Aug 2001, Jeremy Chadwick wrote: > > > Section 12.9.2 of the FreeBSD Handbook states the following: > > > > ... > > I need to add a new "e" partition for ccd(4) to use. This can be a copy of the "c" partition. Once I was done, my disklabel should look like this: > > > > 8 partitions: > > # size offset fstype [fsize bsize bps/cpg] > > c: 60074784 0 unused 0 0 0 # (Cyl. 0 - 59597) > > e: 60074784 0 unused 0 0 0 # (Cyl. 0 - 59597) > > ... > > > > This is incorrect. The filesystem type for 'e' is not 4.2BSD; > > the ccdconfig(8) applied later will fail. It should state: > > > > c: 60074784 0 unused 0 0 0 # (Cyl. 0 - 59597) > > e: 60074784 0 4.2BSD 0 0 0 # (Cyl. 0 - 59597) > > The version I have looks correct. There are two listings from disklabel, one > 'before' and one 'after'. The 'after' listing is exactly as you have it > listed here, which is correct. The content which is incorrect is taken from the following URL: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ccd.html#CCD-SETUP Which states the following in Section 12.9.2: ---SNIP--- This opened up the current disklabel on each disk respectively in whatever editor the EDITOR environment variable was set to, in my case, vi(1). Inside the editor I had a section like this: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 60074784 0 unused 0 0 0 # (Cyl. 0 - 59597) I need to add a new "e" partition for ccd(4) to use. This can be a copy of the "c" partition. Once I was done, my disklabel should look like this: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 60074784 0 unused 0 0 0 # (Cyl. 0 - 59597) e: 60074784 0 unused 0 0 0 # (Cyl. 0 - 59597) ---SNIP--- The error is in the last line shown above. The newly added 'e' filesystem is shown as type 'unused'. This is incorrect; it needs to be type '4.2BSD', otherwise ccdconfig(8) will fail. If the actual Handbook has the correct filesystem type of '4.2BSD' then someone should update the Handbook on www.freesbsd.org. :-) > This has been corrected in revision 1.58 of > doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml. Thanks for catching > that error. Excellent; thanks! -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010905143113.A83018>