From owner-freebsd-doc Wed Sep 5 14:31:19 2001 Delivered-To: freebsd-doc@freebsd.org Received: from parodius.com (pentarou.parodius.com [205.149.163.62]) by hub.freebsd.org (Postfix) with ESMTP id 9923737B405 for ; Wed, 5 Sep 2001 14:31:14 -0700 (PDT) Received: (from jdc@localhost) by parodius.com (8.11.6/8.11.5) id f85LVDa83438; Wed, 5 Sep 2001 14:31:13 -0700 (PDT) (envelope-from jdc) Date: Wed, 5 Sep 2001 14:31:13 -0700 From: Jeremy Chadwick To: Christopher Shumway Cc: doc@FreeBSD.ORG Subject: Re: Error in handbook, section 12.9 Message-ID: <20010905143113.A83018@parodius.com> References: <20010830210148.A53286@parodius.com> <20010904180540.G61071-100000@titan.titan-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010904180540.G61071-100000@titan.titan-project.org> User-Agent: Mutt/1.3.19i X-Organization: Parodius Networking Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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