bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assertion (cyl_size <= 255 * 63) at disk_dos.c:546 in function probe


From: Andrew Clausen
Subject: Re: Assertion (cyl_size <= 255 * 63) at disk_dos.c:546 in function probe_partition_for_geom() failed.
Date: Sun, 19 Dec 2004 09:15:44 +1100
User-agent: Mutt/1.3.28i

On Sat, Dec 18, 2004 at 03:36:10PM +0100, Sven Luther wrote:
> Maybe that code could be reused to generate an optimal geometry for

This code isn't relevant to "optimal geometry".  It is very simple:

        if (A > (C+1) * cyl_size)
                return 0;

That's all!  A == end address, C == end cylinder.  These cryptic names
are used to make the maths readable.

> partitioning scheme like the amiga partition table, which support partition
> granularity only on cylinder boundaries ? For the creation of new partition
> tables this is, since the current scheme of using the <whatever> proposed
> geometry often means the waste of disk space at the end of the disk.

We're only talking about 8 megabytes, worst case, right?
Does anyone really care?

Is the geometry on Amiga relevant for booting, etc.?

Cheers,
Andrew





reply via email to

[Prev in Thread] Current Thread [Next in Thread]