Subject: Re: Hard drive partitioning
To: Mark de Jong , NetBSD Digest <port-mac68k@netbsd.org>
From: Henry B. Hotz <hotz@jpl.nasa.gov>
List: port-mac68k
Date: 09/14/1998 09:05:39
At 12:32 PM -0700 9/12/98, Mark de Jong wrote:
>I was wondering if there's someone who fully understands how to _optimally_
>partition a hard drive so that no cylinders/sectors are wasted. The
>engineer/nerd/geek part of me abhors the thought that my hard drive isn't
>being used optimally. <grin>

There is no perfect solution, but if you do a disklabel to see how many
sectors/cylinder are assumed then you can do it.  Put a dummy parition just
after the partition map/driver partition to get the first real partition to
line up with a theoretical boundary, then allocate all partitions in sizes
that are integer numbers of cylinders.  You will have to leave a few
sectors at the end of the disk unused also.

It makes things look neater under MacBSD, but remember that this is all
imaginary.  All modern drives use some form of zone recording and the
number of sectors/cylinder is not constant.

Signature failed Preliminary Design Review.
Feasibility of a new signature is currently being evaluated.
h.b.hotz@jpl.nasa.gov, or hbhotz@oxy.edu