Hans de Goede wrote:
> Most duplicate disk_ops use ped_disk_new_fresh, which sets needs_clobber
> to 1. This would lead to clobbering the disk when committing a duplicate
> disk even when the original disk was not made with ped_disk_new_fresh.
> * libparted/disk.c (ped_disk_duplicate): copy needs_c
Most duplicate disk_ops use ped_disk_new_fresh, which sets needs_clobber
to 1. This would lead to clobbering the disk when committing a duplicate
disk even when the original disk was not made with ped_disk_new_fresh.
* libparted/disk.c (ped_disk_duplicate): copy needs_clobber value.
---
libparted/