October 9th, 2009, 09:52 AM
Thread Author (OP)
Join Date: Oct 2009
Carrier: Not Provided
Thanked 0 Times in 0 Posts
issue with creating a swap file on sdcard
1.) Model Number ? HTC Magic
2.) Firmware Version ? 1.6 (with root)
3.) Baseband Version ? 62.50S.20.17H_188.8.131.52I
4.) Kernel Version ? 2.6.29-00479-g3c7df37 android-build@apa26 #19
5.) Build Number ? DRC83
Carrier ? Vodafone IT
Country you are using your phone in ? ITALY
Yesterday I installed Donut on my phone, and it seems to work fine.
Then I followed a guide about creating a swap file on microsd, that would be very useful because the Vodafone-issued htc magic has only 192Mb. This is what the guide suggests:
- open a terminal
- dd if=/dev/zero of=/sdcard/swap.swp bs=1024 count=24576
- mkswap /sdcard/swap.swp
- swapon /sdcard/swap.swp
which is pretty much standard linux procedure.
well, i launch my "better terminal emulator", give the "su" command, allow becoming root from the popup menu, then create the file on the sd card with "if" (i just made it larger that 24Mb).
everything works fine, but when I try to use the "mkswap", "swapon" or even "free" commands, it says "not found", as if the command didn't exist. i thought it could be some path issue, but i really don't know where to look for those... under /sbin there's only one file, "adbd". can anybody help?
thanks in advance