Commit graph

5 commits

Author SHA1 Message Date
Dave Chapman
57b84b69e9 Add a simple --scan option which tests all disks from 0 to 25 to see if they look like an ipod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11792 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 23:00:15 +00:00
Dave Chapman
945be68825 Default to 512-byte sectors on POSIX platforms - this allows testing of ipodpatcher with a file instead of a real device
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11774 a1c6a512-1295-4272-9138-f99709370657
2006-12-16 13:49:14 +00:00
Dave Chapman
49e016c48f Reorganise the ioctl() #ifdefs - this should fix ipodpatcher for BSD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11768 a1c6a512-1295-4272-9138-f99709370657
2006-12-15 00:09:48 +00:00
Dave Chapman
8280c8c094 Sector-size detection on Posix platforms - tested on Linux and Mac OS X. Based on patch #6433 by Bryan Childs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11752 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 20:26:44 +00:00
Dave Chapman
4b7e1e0945 Work-in-progress towards a cross-platform ipodpatcher which will edit the firmware partition directly, incorporating the ipod_fw.c functionality. Tested successfully on win32 and Linux but it only lists the contents of the firmware partition at the moment - no actual reading or writing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11748 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 09:02:18 +00:00