[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 8th HFS resize patch
From: |
Andrew Clausen |
Subject: |
Re: 8th HFS resize patch |
Date: |
Wed, 30 Apr 2003 11:00:44 +0000 |
User-agent: |
Mutt/1.5.3i |
On Mon, Apr 28, 2003 at 04:49:20AM +0200, K.G. wrote:
> It corrects an annoying bug of the 7th (bad calculation
> of the free block number in the HFS wrapper of an HFS+
> volume), which prevented mac os from booting after a
> resize.
> This bug didn't affect the hfs plus utils, used to do
> my previous tests, that's why I hadn't detected it sooner.
> HFS volumes weren't affected either.
Perhaps it would be useful to port Parted to Mac OSX? Is that hard?
Anyone got a box I can ssh into?
I certainly won't have time in the next month to do this, though :/
Any volunteers?
It basically involves adding libparted/macosx.c, and implementing
all the functions in PedArchitecture (i.e. PedDiskArchOps, and
PedDeviceArchOps). There are already two examples for you to work
from: libparted/linux.c and libparted/gnu.c.
Also, it would involve getting everything else to compile, but this
isn't very difficult. I even got Parted running on MS-DOS (via djgpp)
a while back! (But, I didn't know how to implement libparted/dos.c or
libparted/windows.c... lots of reading required!)
Cheers,
Andrew