gparted r954 - in trunk: . src
- From: gedakc svn gnome org
- To: svn-commits-list gnome org
- Subject: gparted r954 - in trunk: . src
- Date: Wed, 5 Nov 2008 20:18:52 +0000 (UTC)
Author: gedakc
Date: Wed Nov 5 20:18:52 2008
New Revision: 954
URL: http://svn.gnome.org/viewvc/gparted?rev=954&view=rev
Log:
Added exclusion to the partition copy primary paste unallocated extended problem because primary partitions at the start of the disk do not experience this problem.
Modified:
trunk/ChangeLog
trunk/src/Dialog_Partition_Copy.cc
Modified: trunk/src/Dialog_Partition_Copy.cc
==============================================================================
--- trunk/src/Dialog_Partition_Copy.cc (original)
+++ trunk/src/Dialog_Partition_Copy.cc Wed Nov 5 20:18:52 2008
@@ -54,8 +54,12 @@
// additional 8 MB. 8 MB is typical cylinder size with
// todays larger disks.
// 8 MB = (255 heads) * (63 sectors) * (512 bytes)
- //FIXME: Should confirm MSDOS partition table type, and use cylinder size from device
+ // NOTE: This problem does not occur for a primary partition
+ // at the the start of the disk because the size of the EBR and
+ // Master Boot Record are the same.
+ //FIXME: Should confirm MSDOS partition table type, track sector size, and use cylinder size from device
if ( copied_partition .type == TYPE_PRIMARY
+ && copied_partition .sector_start != 63
&& selected_partition .type == TYPE_UNALLOCATED
&& selected_partition .inside_extended
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]