Otavio Salvador <[EMAIL PROTECTED]> writes:
> It then raises an exception of overlaping partitions. This then return
> 0 and goes on cascate until returning without getting back to
> update_mode 0.
I forgot to add here that to "fix" the update_mode problem I tryed the
bellow patch:
#v+
diff --git a/libparted/labels/dvh.c b/libparted/labels/dvh.c
index dce8e5c..1ea8361 100644
--- a/libparted/labels/dvh.c
+++ b/libparted/labels/dvh.c
@@ -138,7 +138,7 @@ dvh_duplicate (const PedDisk* disk)
PED_ASSERT (old_dvh_disk_data != NULL, goto error);
- new_disk = _ped_disk_alloc (disk->dev, &dvh_disk_type);
+ new_disk = ped_disk_new_fresh (disk->dev, &dvh_disk_type);
if (!new_disk)
goto error;
#v-
It then make the overlaping problem. I'm still looking why it does it.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: [EMAIL PROTECTED] UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel