Re: [linux-minidisc] Building himdformat against libscg on MacOSX
>Betreff : [linux-minidisc] Building himdformat against libscg on MacOSX
>Gesendet: 07.05.2010 22:19:55
>An : "linux-minidisc@lists.fu-berlin.de"
>Von: "Adrian Glaubitz <glaubitz@physik.fu-berlin.de>"
>----- Originale Nachricht -----
>5) himdformat runs on MacOS:
> minimac2:~ zedv$ ./himdformat_scg
> Please specify the path to the scsi device
> minimac2:~ zedv$
>I'm attaching the libscg version of himdformat as well as the
>necessary patch.
>Adrian
O.K., I managed to build cdrtools on mingw, too.
(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.
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.
Thomas