Hi,

My 9th patch for HFS and HFS+ shrink support is
available. Now it is for parted 1.6.6 :
You can download it at :

http://xilun666.free.fr/parted-1.6.6-hfs-9.patch

( old versions are still available at :
http://xilun666.free.fr/Projet/Parted/ )

This patch now features non-overlapping resizing, which
means that in case of interruption of parted during
a resize job, you shouldn't loose your data.
I've now access to a G4 mac so I have tested it a dozen
times on both OS X, OS 9, HFS+ and HFS, freshly installed,
and with various disk spaces and occupations,
and it did work for me (but there's no warranty !).

It is still very slow if data relocation is needed, but
I'm working on caching extents references in memory.
Futur releases might have usefull errors messages in case
of failure, to be able to see what happened.
To test this patch : download the parted-1.6.6 sources,
apply this patch, ./configure && make, run Apple Disk
First Aid on the volume you're going to resize, use
parted to resize it, run Disk First Aid on the result,
and report me bugs (if your system is still usable to do
so .

If you don't want to build it by yourself there's a static
version of parted-1.6.6 with last HFS support, for PPC
at :

http://xilun666.free.fr/parted-hfs-ppc.static

I also have an already patched tarball available :

http://xilun666.free.fr/parted-1.6.6-hfs.tar.gz

---
Guillaume Knispel