copying partition results in duplicate uuid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-partitioning (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: libparted1.7-1
Copying a partition using partman or gparted results in the new partition having the same UUID as the copied partition. I confirmed this for ext2, ext3, and reiserfs partitons.
I first ran into this when I installed the Gutsy beta. I copied my home partition to make sure I didn't mess it up when testing Gutsy. When I switched back and forth between Feisty and Gutsy I noticed that changes I had made in data files in Feisty sometimes vanished. It took me a while to figure out that at boot Feisty sometimes mounted the original home partition, and sometimes the new copy - and that the two partitions had the same uuid.
I then tested copying partitions with gparted and again the original and copied partitions had the same uuid.
I assume that partman and gparted both use libparted, and that that is where the problem is.
Changed in parted: | |
importance: | Undecided → Medium |
Maybe it would be better to consider this bug as a feature? (rather useful by my experience in backing up root and home partitions ;) ) and provide a switch to turn it on and off. Or a way to change uuid manually if needed...