Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 1995 00:07:14 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        phk@freefall.cdrom.com (Poul-Henning Kamp)
Cc:        CVS-commiters@freefall.cdrom.com, cvs-user@freefall.cdrom.com
Subject:   Re: cvs commit: src/release/libdisk create_chunk.c
Message-ID:  <199505150707.AAA05336@gndrsh.aac.dev.com>
In-Reply-To: <199505150058.RAA08808@freefall.cdrom.com> from "Poul-Henning Kamp" at May 14, 95 05:58:27 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505150707.AAA05336>