Re: [linux-minidisc] Building himdformat against libscg on MacOSX


On Wed, May 19, 2010 at 11:11:44PM +0200, manner.moe@gmx.de wrote:
> O.K., I managed to build cdrtools on mingw, too.

Great news, awesome. Congrats. Looks like we've won the game.

That reminds me, I wanted to get into contact with Joerg Schilling
again to discuss the license issue with him so we won't run into any
problems with that.

> (I´ll send the patch later, it is not complete yet)
> We should change "memcpy(dev, argv[1], sizeof(argv[1]));" at 
> line 37 in himdformat_scg.c to "strcpy(dev, argv[1]);",
> else the last char will be truncated.

Please just write an extra patch for that, I'll apply it after testing
with Linux and MacOS.

> You can format you himd walkman as followed:
> 
> 1) use cdrecord -scanbus   to find your walkman
>     The entry should look like this:
>         scsibus 6:
>                       6,0,0  600> 'SONY    ' 'Hi-MD WALKMAN'   ' '1000' Removable Disk    
> 
> 2) then use ./himdformat_scg 6,0,0   to format you MD
>     This works fine in Windows, so I think it should work on mac/linux, too.

Ah, yes. Haven't had the time today after returning home yesterday to
test himdformat_scg with real hardware. Since Michael has the MZ-RH1,
he should bring it to the uni tomorrow.

@Michael:

Could you test himdformat_scg (from current git/master) as Thomas
suggests? Afterwards, we can test on the Mac in the uni as well.


Adrian