bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libparted-fs-resize: HFS/FAT file system resizing library


From: Curtis Gedak
Subject: Re: libparted-fs-resize: HFS/FAT file system resizing library
Date: Fri, 03 Feb 2012 15:01:59 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16

Hi Jim,

Thank you for this new library. I plan to begin testing the library late next week.

On 12-02-03 02:46 PM, Jim Meyering wrote:
On testing, there is a single new test that resizes a FAT
and an HFS partition, then checks each with fsck.vfat and fsck.hfs
respectively.  Unfortunately, as noted in comments, fsck.hfs
segfaults, at least with the version in Fedora 16.  See the comments
in tests/t3000-resize-fs.sh for where to get a working program.

The fsck.hfs segfault problem is not limited to Fedora. The segfault also occurs in Ubuntu.

Of note is that the segfault seems to occur when the file system / partition size is a power of 2. (e.g., 2 GiB, 1 GiB, 512 MiB, 256 MiB, 128 MiB, 64 MiB, 32 MiB).

If; however the size is not a power of 2, say 40 MiB, then fsck.hfs does not segfault.

Regards,
Curtis Gedak
(Maintainer of GParted)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]