From owner-freebsd-doc Tue Sep 4 18: 8:46 2001 Delivered-To: freebsd-doc@freebsd.org Received: from titan.titan-project.org (titan.titan-project.org [64.81.251.146]) by hub.freebsd.org (Postfix) with ESMTP id 4959037B407 for ; Tue, 4 Sep 2001 18:08:43 -0700 (PDT) Received: from localhost (cshumway@localhost [127.0.0.1]) by titan.titan-project.org (8.11.6/8.11.4) with ESMTP id f8518eO61130; Tue, 4 Sep 2001 18:08:40 -0700 (PDT) (envelope-from cshumway@titan-project.org) Date: Tue, 4 Sep 2001 18:08:40 -0700 (PDT) From: Christopher Shumway To: Jeremy Chadwick Cc: Subject: Re: Error in handbook, section 12.9 In-Reply-To: <20010830210148.A53286@parodius.com> Message-ID: <20010904180540.G61071-100000@titan.titan-project.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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. > > Section 12.9.3 states the following: > > ... > The final arguments to ccdconfig are the devices to place into the array. Putting it all together I get this command: > > ccdconfig ccd0 32 0 /dev/ad1c /dev/ad2c /dev/ad3c > ... > > This is also incorrect. The label entries used should not be type > 'c', but rather type 'e' (hence the instructions in 12.9.2!). > This should therefore be: > > ccdconfig ccd0 32 0 /dev/ad1e /dev/ad2e /dev/ad3e This has been corrected in revision 1.58 of doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml. Thanks for catching that error. --- Christopher Shumway cshumway@titan-project.org cshumway@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message