Jump to content


Photo

Swap file on Samsung Galaxy

- - - - -

  • Please log in to reply
2 replies to this topic

#1
kam187

kam187

    Enthusiast

  • Members
  • PipPipPip
  • 177 posts
It looks like swapping isnt enabled by default in the kernel?

When i do swapon, it responds function not implemented :-/

# id
id
uid=0(root) gid=0(root) groups=1003(graphics),1004(input),1007(log),1011(adb),30
01(net_bt_admin),3002(net_bt),3003(inet)
# swapon /sdcard/swapfile.swp
swapon /sdcard/swapfile.swp
swapon: /sdcard/swapfile.swp: Function not implemented
# ls -l /sdcard
ls -l /sdcard
drwxrwxrwx system system 2009-08-10 20:53 sd
----rw-rw- system system 33554432 2009-08-10 20:57 swapfile.swp

Edited by kam187, 10 August 2009 - 08:06 PM.

  • 0
Walkabout - ICS and HoneyComb Compatible! Try it Free
http://android.modac...__hl__walkabout

#2
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,345 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Hmmm, that sucks!

You've installed busybox to get swapon?

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#3
kam187

kam187

    Enthusiast

  • Members
  • PipPipPip
  • 177 posts

Hmmm, that sucks!

You've installed busybox to get swapon?

P


Yep. Swapper was failing, so i uninstalled it and tried to turn the swap on manually.

I know that in linux u need to turn on swap support in .config before you compile otherwise you get this message. I wonder if they did it on purpose to make the kernel smaller.

  • 0
Walkabout - ICS and HoneyComb Compatible! Try it Free
http://android.modac...__hl__walkabout




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users