> That's all ?? What about partitions with an odd number of sectors, > does fdisk_find_disk round up or down there, and will that affect > the comparison (end of partition > end of disk) ? The variable hd_size is only used to check if the disk has an Atari format paritioning at all. The test for this is VALID_PARTITION, and it uses hd_size to verify that start and end of the part are inside the disk's borders. Roman