The previous patch might not work. Please use this one. 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 23:23:55.000000000 +0200
@@ -1610,20 +1610,14 @@
goto error_destroy_constraint;
ped_partition_set_system (part, NULL);
} else {
+ constraint = constraint_from_start_end (*dev,
+ range_start, range_end);
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);
}
pgp2HYMeSloPB.pgp
Description: PGP signature
_______________________________________________ bug-parted mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-parted
