diff options
author | Phillip Susi <psusi@ubuntu.com> | 2014-01-05 23:02:44 -0500 |
---|---|---|
committer | Phillip Susi <psusi@ubuntu.com> | 2014-05-22 19:56:36 -0400 |
commit | 7eac0588b68a4d991a0f861bb9f4553f44557e14 (patch) | |
tree | 3b31ad15458857867163f4efb88bc5fbc2c9d512 /NEWS | |
parent | 5adae27101565a5d6fed4aadf28ddb39872e41f5 (diff) | |
download | parted-7eac0588b68a4d991a0f861bb9f4553f44557e14.tar.gz |
parted: don't reload partition table on every command
gpt was using a static local variable to suppress repeatedly reporting
an error if you chose to ignore it. This is incorrect as the variable is
global to all disks, and ignoring the error on one should not suppress its
reporting on another. Moving the flag to the PedDisk object made it
effectively useless because parted was destroying the PedDisk and reloading
the partition table on every command.
Parted has been reworked to cache the PedDisk once loaded, and only discard
it when changing disks, or creating a new disklabel.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -29,6 +29,11 @@ GNU parted NEWS -*- outline -*- ** Bug Fixes + libparted: previously if you chose to ignore the warning about + the gpt thinking the disk was smaller than it appears to be on + on disk, subsequent warnings on other disks would be suppressed. + Now parted will warn once per disk. + Fix filesystem detection on non 512 byte sector sizes Fix linux partition sync code to flush partitions > 16 |