ls -a /usr/gp2x > /mnt/sd/gp2xlist.txt
You could always run a script which saves a directory listing of /usr/gp2x to a txt file on the SD card and have a look. It wouldn't suprise me if there are a few hidden things in there. If I had my unit yet I'd have a look.
edit: I think this should work (note the 'should').
Code:ls -a /usr/gp2x > /mnt/sd/gp2xlist.txt
ls -alR /usr/gp2x > /mnt/sd/gp2xlist.txt
Haven't got mine yet but can you guys explain howto run linux commands on the gp2x??
uh.. eh.. that's what I said! You just read my post wrong.
#/bin/sh
mount /mnt/sd -o remount,sync
ls -alR /usr/gp2x > /mnt/sd/gp2xlist.txt
mount /mnt/sd -o remount,async
cd /usr/gp2x/
./gp2xmenu
Times like these I wish I had a (wireless)network connection to the Gp2X, then you could telnet/ssh into and mess about with everything until it breaks! I expect you could do it with the serial cable but none of the computers I use have serial ports :angry:
I figured as much. Thanks for the confirmation.Scripts can work without #!/bin/sh because whatever shell is running at the time will just execute the commands instead of sh, and the reason #/bin/sh works is because without the ! it's just a comment and so doesn't do anything.
Normally with flash cards under linux the data isn't actually written to the card until it is unmounted, but with the gp2x you usually just save your game then switch off and so umount is never called and the data is never written.