I checked out and built the 'mac' cvs tag for the tools.
I can't actually back up my Tivo drive.
So I see in System Profiler that my orig drive is mounted as disk0
I thought I could do this:
% sudo ./mfstool backup -6so /Volumes/Hallucinatory/tivobackup/
tivo.bak
/dev/disk0
Password:
/dev/disk0s10: Unknown error: 0
mfs_load_volume_header: mfsvol_read_data: Input/output error
Ok, I was getting permissions errors on /dev/disk0 and /dev/
disk0s<something>
that the tool was adding onto my /dev/disk0 I gave as an
argument..
I wasn't able to get it to run as root under Xcode, so I chowned
/dev/disk0 back to me.. which helped it get farther.. I'm possibly
doing the
wrong tactic at all so maybe this debugging stuff isn't useful..
I got down into tivo_read_partition_table
and here:
/* Find out what the magic is in the bootblock. */
switch (htons (*(unsigned short *) buf))
{
case TIVO_BOOT_MAGIC:
/* It is the right magic. Do nothing. */
break;
case TIVO_BOOT_AMIGC:
/* It is the right magic, but it is byte-swapped. Enable byte-
swapping. */
table->vol_flags |= VOL_SWAB;
break;
default:
/* Wrong magic. Bail. */
close (*fd);
free (table);
return 0;
}
It's hitting the TIVO_BOOT_AMIGC case. I even tried commenting
out that line
but it didn't make a difference in the following..
So it goes a few more lines and fails here:
/* If it doesn't have the magic, it's not hip. No more partitions. */
if (htons (part->signature) !=
MAC_PARTITION_MAGIC)
{
break;
}
and then thinks it has no partitions and bails out.
Logged In: NO
I forgot to say that I am using a Series 1 Tivo. Mike Wiese has said it
works for a Series 2.
This is actually mattack @ apple.com. I haven't gotten the email about
the sourceforge acct.. I sure had thought I set one up earlier.