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: Sven Luther
Subject: Re: Assertion (cyl_size <= 255 * 63) at disk_dos.c:546 in function probe_partition_for_geom() failed.
Date: Sat, 18 Dec 2004 15:36:10 +0100
User-agent: Mutt/1.5.6+20040907i

On Sat, Dec 18, 2004 at 11:43:45PM +1100, Andrew Clausen wrote:
> Hi Ylia,
> 
> Your partition table is broken... did you use Norton Ghost?
> 
> Anyway, you inspired a better heuristic for Parted detecting such
> broken partition tables (i.e. fewer false negatives and still no
> false positives).
> 
> I now check if any geometry is feasible based on the end cylinder of the
> partition and the maximum geometry of x/255/63.  If it isn't, there is
> no point in trying to deduce one...

Maybe that code could be reused to generate an optimal geometry for
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.

Friendly,

Sven Luther





reply via email to

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