From owner-freebsd-commit Mon May 15 00:08:11 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA20128 for commit-outgoing; Mon, 15 May 1995 00:08:11 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA20115 for cvs-user-outgoing; Mon, 15 May 1995 00:08:07 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id AAA20097 ; Mon, 15 May 1995 00:07:51 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id AAA05336; Mon, 15 May 1995 00:07:14 -0700 From: "Rodney W. Grimes" Message-Id: <199505150707.AAA05336@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/release/libdisk create_chunk.c To: phk@freefall.cdrom.com (Poul-Henning Kamp) Date: Mon, 15 May 1995 00:07:14 -0700 (PDT) Cc: CVS-commiters@freefall.cdrom.com, cvs-user@freefall.cdrom.com In-Reply-To: <199505150058.RAA08808@freefall.cdrom.com> from "Poul-Henning Kamp" at May 14, 95 05:58:27 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 838 Sender: commit-owner@FreeBSD.org Precedence: bulk > > phk 95/05/14 17:58:26 > > Modified: release/libdisk create_chunk.c > Log: > Create_Chunk_DWIM will not allocate anything in the last cylinder of a > CHUNK_BAD144 slice. Wrong calculation, please use end of device - 1 track - 126 blocks. Your 1 cylinder assumption will cause bad144 failures for device that have a cylinder size smaller than 126 blocks + 1 track. (ie, 4 head, 17 sector drives require (126 + 17)/68 == 2 cylinders+2 sectors to work. Been here, made that mistake in the 1.0 install, fixed it, please you do it correctly now too. > Also mknod the 'c' partition for freebsd slices, so bad144(8) will have > something to work on. :-) -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD