Resource icon

DOSFSCK for gp2x 2.11

dosfsck 2.11 for the GP2x (static build)

This is just dosfsck compiled for the GP2X. Since my 2 GB SD card had a lot of trouble (a couple of bad sectors) I wanted to use fsck, so I went and did this build. I did apply a patch to it, since it always said that 'Logical sector size is zero' on the SD card. Since that was the only real use I wanted to give to it, I searched the net and found a patch already to solve that problem for another arm platform. Otheriwse, it is the standard release (dosfstools-2.11). The patch is in the file dosfstools-2.10.patch if you need it for reference (taken from http://beer.geek.nz/software/zaurus/dosfstools/).

This one was compiled using the following optimizations (which proved to give it a nice speed boost):

-O3 -Wall -ftracer -fstrength-reduce -Wno-unused -funroll-loops -fomit-frame-pointer -fstrict-aliasing -ffast-math

Of course you'll need to run this on the SD (/dev/mmcsd/disc0/part1) while it is unmounted, and you'll need to have the executable on the nand or the root filesystem.

I also wrote a small tool and a script to help those that don't have telnet access to the GP2X (or for those wanting to run it while on the road, though I'd mind the batteries). It is called sdlmore, and it includes the script I use to run dosfsck on my GP2X (unmount the SD, run dosfsck and mount it back again). I've found it useful to have them both on the nand under an utils folder.

Disclaimer:

As always I am not responsible for any damage you do to your SD or your data, although you should be safe since it is the standard dosfsck release. It has worked great for me so far, but it might not be your case. I recommend to unmount the SD first or use a script to do so.

dosfsck.jpg
Author
Downloads
1,913
Views
1,913
First release
Last update
Rating
0.00 star(s) 0 ratings
Back
Top