Android Tablets Forum banner

Mounting the SDcard

821 Views 2 Replies 2 Participants Last post by  Roger Calver
Hi,What Im trying to do is mount the SD card before android boots so to use a Swapfile on it.This methold works for setting up and running a swapfile,
# su# dd if=/dev/zero of=/sdcard/swapfile bs=1M count=128# mkswap /sdcard/swapfile# swapon /sdcard/swapfileIf I reboot for some reason, I type in BTEPro# su# swapon /sdcard/swapfile
So is it possible or even having a script run this after the droid has booted ?Thanks in advance.
1 - 3 of 3 Posts
Did you get anywhere with this Roger?
Yeah, I now alter the code to allow the swap partition to auto enable.
1 - 3 of 3 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.