[parted-devel] Bug: Removal of BLKPG causes regression of ability to manipulate disks with other partitions in use

Curtis Gedak gedakc at gmail.com
Tue Apr 13 19:01:42 UTC 2010


I have encountered a problem that I think is related to changes made by 
patches in this email thread.

The problem occurs when partition and file system changes are made to a 
partition lower (e.g., sda1) than a mounted partition (e.g., sda2).  
When this occurs parted does not recognize the file system on the lower 
partition.

My testing used the patched version of parted-2.2 along with 
gparted-0.5.2 on the recently released 
ubuntu-10.04-beta2-desktop-i386.iso image.  I was also using an msdos label.

When I create two partitions and format these, I experience no problems 
with parted recognizing the file system.  I can also delete the first 
partition, then recreate the first partition and format it, and again 
parted is able to recognize the file systems.

However if I mount the second partition and proceed to delete the first 
partition, then when I recreate the first partition and format it, 
parted is unable to recognize the file system on the first partition.

It should be noted that the blkid command does correctly report the file 
system on the first partition.

The fact that the problem only appears when changes are made to a lower 
partition when a higher partition is mounted leads me to believe that 
this problem is related to the patches discussed in this email thread.

Please feel free to ask if you need more help or information to isolate 
this bug.

Regards,
Curtis Gedak




More information about the parted-devel mailing list