Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62707 - parted 1.6.15 is out, our patchset needs to be fixed/updated
Summary: parted 1.6.15 is out, our patchset needs to be fixed/updated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 05:34 UTC by Guillaume Knispel
Modified: 2004-10-07 13:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Knispel 2004-09-03 05:34:20 UTC
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)
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-22 16:20:44 UTC
Thnxs, we'll include the fix in cvs asap
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-24 18:13:16 UTC
Reassigning to base-system (maintainer) since the parted versions in portage are outdated.
Comment 3 Luca Barbato gentoo-dev 2004-09-24 18:37:30 UTC
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?
Comment 4 SpanKY gentoo-dev 2004-09-24 19:21:07 UTC
base layout may be the maintainer but considering HFS is only used on ppc, it's really ppc's problem to handle this bug
Comment 5 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-10-06 23:12:14 UTC
Just a friendly reminder this is a critical bug for 2004.3/ppc
Comment 6 Luca Barbato gentoo-dev 2004-10-07 13:27:30 UTC
In cvs