Hi everybody ! I found a quite serious bug in my handling of fragmented catalog, extents overflow, and attributes files (they are low level files containing the FS structures). It can happen when you have lot of files and these low level files were not large enough during the file system creation to handle all your files, so the kernel implementation grow them non ontiguously to let you store every files you want. As this bug can potentially damage data, I've released the HFS 12.5 patch which fix this issue : http://xilun.nerim.net/Projet/Parted/parted-1.6.12-hfs-12.5.patch I urge people using or maintaining previous versions for distro to quickly switch to that one. Despite its name, it should work with every version of Parted between 1.6.5 and 1.6.12 if hfs.c, hfs.h, and disk_mac.c are correctly patched. I'm also testing the 13th one which will include more bugfixes (beta available here : http://xilun.nerim.net/Projet/Parted/Beta/) and also code cleanups. Cheers, Guillaume Knispel. Reproducible: Sometimes Steps to Reproduce: 1.Install a complete Mac Os X and generate lot of fragmented little files 2.Use Parted with an HFS Patch prior to 12.5 3.It fails (it can theoricaly destroy some data under rare conditions)
Thnxs, we'll include the fix in cvs asap
Reassigning to base-system (maintainer) since the parted versions in portage are outdated.
I tried the patch locally against the .15 and uptated accordingly the patchset = the amiga patch has to be fixed and the tested David could take a look or ping me tomorrow so we can get a fixed version for the weekend?
base layout may be the maintainer but considering HFS is only used on ppc, it's really ppc's problem to handle this bug
Just a friendly reminder this is a critical bug for 2004.3/ppc
In cvs