Rockbox

Tasklist

FS#6433 - Patch to ipod_patcher to detect sector size on posix platforms.

Attached to Project: Rockbox
Opened by Bryan Childs (GodEater) - Wednesday, 13 December 2006, 13:23 GMT
Task Type Patches
Category Bootloader
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Added an ioctl() call to ipodio-posix.c to try to automatically detect sector size on posix based systems.
This task depends upon

Closed by  Dave Chapman (linuxstb)
Wednesday, 13 December 2006, 20:39 GMT
Reason for closing:  Accepted
Additional comments about closing:  After a little reorganising, I\'ve committed it to CVS. Thanks.
Comment by Bryan Childs (GodEater) - Wednesday, 13 December 2006, 13:31 GMT
Oops - I used linux/fs.h, not sys/mount.h

Try this patch instead.
Comment by Bryan Childs (GodEater) - Wednesday, 13 December 2006, 16:08 GMT
And another update to try to make it work for BSD / OSX too.

These are *completely* experimental as I have neither platform to try compiling it on I'm afraid. Use at your own risk etc.
Comment by Bryan Childs (GodEater) - Wednesday, 13 December 2006, 18:15 GMT
Just noticed a typo in my last patch in the section for OSX, so this fixes that.

This is also a proper "cvs diff -u" since I'm now at home and can access CVS properly.

Loading...