[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libparted ped_disk_get_max_partition_geometry() gives wrong size
From: |
ben |
Subject: |
libparted ped_disk_get_max_partition_geometry() gives wrong size |
Date: |
Sun, 12 Jun 2011 16:51:17 -0700 |
User-agent: |
KMail/1.13.6 (Linux/2.6.39-3-generic; KDE/4.6.3; i686; ; ) |
With libparted, version 2.3, I have been having a problem with
ped_disk_get_max_partition_geometry(). The function returns values that are
correct for the beginning of a partition but too small for the end. This only
seems to happen with MS-DOS disk labels. The returned value can be short by
over 2 megabytes and can even be *smaller* than the partition that already
exists there.
I have seen the same behavior with disks of 40 GB too 1 TB and even flash
drives. GParted reports the correct sizes and often shows substantial
unallocated space after a partition that was supposed to be maximized.
I am running Debian Linux.
Thank you.
address@hidden
- libparted ped_disk_get_max_partition_geometry() gives wrong size,
ben <=