GNU bug report logs - #22266
[libparted] jump instruction and boot code is corrupted with random bytes after fat is resized

Previous Next

Package: parted;

Reported by: Tom Yan <tom.ty89 <at> gmail.com>

Date: Tue, 29 Dec 2015 18:00:02 UTC

Severity: normal

Full log


Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tom Yan <tom.ty89 <at> gmail.com>
To: Curtis Gedak <gedakc <at> gmail.com>
Cc: bcl <at> redhat.com, bug-parted <at> gnu.org, 22266 <at> debbugs.gnu.org
Subject: Re: bug#22266: [libparted] jump instruction and boot code is
 corrupted with random bytes after fat is resized
Date: Tue, 5 Jan 2016 02:36:48 +0800
Well what I meant was commit 80678bdd957cf49a9ccfc8b88ba3fb8b4c63fc12
makes gparted simply quit with error when trying to resize FAT, and
commit 5adae27101565a5d6fed4aadf28ddb39872e41f5 fix that but
introduced the issue I am reporting now. (Well actually, I CANNOT know
exactly which of them introduced it.)

Well yeah dosfstools does not provide any resizing tool. Funny thing
is not even Windows support FAT resizing in its disk management util
(but it support that for NTFS).

On 5 January 2016 at 01:56, Curtis Gedak <gedakc <at> gmail.com> wrote:
> Hi Brian,
>
> I agree that in an ideal world the code for resizing file systems would
> exist in the file system project.  Unfortunately this does not appear to
> be the case for FAT16/FAT32 file systems.
>
> When I last looked there were no other free software or open source
> options for resizing FAT16 and FAT32 file systems.  The same goes for
> the code in libparted that can shrink HFS and HFS+ file systems.
>
> Unless there is a change in this situation, I am in favour of keeping
> the resizing code/library in parted.
>
> Regards,
> Curtis Gedak
> (Maintainer of GParted)
>
> On 16-01-04 10:45 AM, Brian C. Lane wrote:
>> We should drop this resize code completely. I still think it was a
>> mistake to revive it as a library. Filesystems should be managed by the
>> upstream filesystem code, not parted.




This bug report was last modified 9 years and 65 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.