Here's the mentioned patch.

  Leslie

-- 
gpg --keyserver pgp.mit.edu --recv-keys 0x52D70289
http://nic-nac-project.de/~skypher/
--- parted.c.old        2006-04-07 18:53:14.000000000 +0200
+++ parted.c    2006-04-07 18:54:04.000000000 +0200
@@ -1613,17 +1613,9 @@
                 fs = ped_file_system_open (&part->geom);
                 if (!fs)
                         goto error_destroy_disk;
-                constraint = constraint_intersect_and_destroy (
-                                ped_file_system_get_resize_constraint (fs),
-                                constraint_from_start_end (
-                                        *dev, range_start, range_end));
                 if (!ped_disk_set_partition_geom (disk, part, constraint,
                                                   new_geom.start, 
new_geom.end))
                         goto error_close_fs;
-                if (!ped_file_system_resize (fs, &part->geom, timer))
-                        goto error_close_fs;
-                /* may have changed... eg fat16 -> fat32 */
-                ped_partition_set_system (part, fs->type);
                 ped_file_system_close (fs);
         }
 

Attachment: pgpOpjH6TRoXp.pgp
Description: PGP signature

_______________________________________________
bug-parted mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to