[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: This ext2 filesystem has a rather strange layout!
From: |
Andrew Clausen |
Subject: |
Re: This ext2 filesystem has a rather strange layout! |
Date: |
Sat, 16 Apr 2005 15:49:47 +1000 |
User-agent: |
Mutt/1.3.28i |
On Tue, Apr 12, 2005 at 08:39:54PM -0500, Ryan Underwood wrote:
> > No. Parted should be able to resize this without any problems. You
> > just found a bug. Thanks.
>
> Do you have a patch?
Yes.
--- parted.c 29 Mar 2005 00:13:47 -0000 1.12
+++ parted.c 16 Apr 2005 05:52:26 -0000
@@ -1206,8 +1206,10 @@
if (!command_line_get_partition (_("Partition number?"), disk, &part))
goto error_destroy_disk;
- if (!_partition_warn_busy (part))
- goto error_destroy_disk;
+ if (part->type != PED_PARTITION_EXTENDED) {
+ if (!_partition_warn_busy (part))
+ goto error_destroy_disk;
+ }
start = part->geom.start;
end = part->geom.end;
Cheers,
Andrew
Re: This ext2 filesystem has a rather strange layout!, Andrew Gaffney, 2005/04/10