[Parted-maintainers] Bug#294773: resizing hfs+ partition

Sven Luther Sven Luther <sven.luther@wanadoo.fr>, 294773@bugs.debian.org
Mon, 14 Feb 2005 13:41:21 +0100


On Mon, Feb 14, 2005 at 11:29:19AM +0100, ViCToRy wrote:
> On Fri, Feb 11, 2005 at 08:45:37PM +0100, Sven Luther wrote:
> > tags 294773 + upstream
> > thanks
> > > This is true, although this is more a feature request than a bug report :)
> > > I've already written the code to handle journals some month ago, but it
> > > needs a few more tests
> > > ( the code is at http://xilun.nerim.net/Projet/Parted/Beta/ )
> > 
> > Indeed. I wonder if Victor would be willing to test this on his new minimac.
> > Victor, maybe you could create a smallish hfs+ journaled partition for testing
> > this ? 
> 
> Sure. tell me what tests I have to do.

Well, can you download the above code and compile a parted based on it ? I
guess then you need to create a small hfs+ journaled partition, and resizie
it, and verify that the data on it still becomes available. Using md5sum and
such.on all files of the pre-and-post-resize filesystem, both under linux and
hfs+. You could probably even do a :

  for file in `find /path/to/journaled/hfs+/partition -type f`; do md5sum $file >> md5sum.txt; done

And after the resize you test it with :

  md5sum -c md5sum.txt

Friendly,

Sven Luther