Join Today
+ Reply to Thread
Results 1 to 3 of 3

Thread: Swap file??

  1. #1
    Join Date
    Feb 2007
    Location
    Virginia Beach
    Posts
    215

    Default Swap file??

    I went through the forum and found the previous thread on creating swap files for the phone, but with those it seems that every time you turn off your phone, you have to reinstall the swap file. I'm just curious, is anybody working on a permanent solution to this?

  2. #2
    Join Date
    Oct 2006
    Location
    Lansing, MI, USA
    Posts
    612

    Default

    Well the answer is slightly complicated, first we must know if you have startup script enabled. To do this, in samba go to: /etc/rc.d/rc2.d/ and open S80**** (the file that starts w/ S80) in wordpad. NOTE: it may not be in the rc2.d folder, it may be rc3.d and so on. Scroll until you see if there is startup1.txt or startup.txt mentioned. If so, note which directory it is in. Now in samba, go to that directory (usually /mmc/mmca1/) and start a new text file. I recommend using Ultra Edit for this. make it somewhat similar to this:

    #!/bin/bash
    # Startup Script

    start-stop-daemon --start --exec sbin/swapon /mmc/mmca1/Swap/swap.bin



    be sure to save it as a unix type text file (of course .txt).

    That should work, as long as you have startup script command in the run level folder.
    I'm so cool, I had the E6 before the E2 launched! Wait. Never mind...

  3. #3
    Join Date
    Feb 2007
    Location
    Virginia Beach
    Posts
    215

    Default

    you're right...sounds complicated...but thank you very much for the answer so quickly. Is it possible for someone to create a run once installation file/script?


 
+ Reply to Thread

Similar Threads

  1. [APP] SWAP Manager 2 - creates swap file on SD card
    By m41d3n in forum A1200 Applications
    Replies: 58
    Last Post: 11-19-2010, 05:07 AM
  2. [APP] Swap Manager 1 - creates Swap file on SD card
    By dedraks in forum A1200 Applications
    Replies: 93
    Last Post: 11-18-2010, 12:35 PM
  3. increase swap file
    By asgr86 in forum E6 General Chat
    Replies: 1
    Last Post: 11-23-2007, 05:31 AM
  4. Q: What are the benefits of having a swap file?
    By rn5a in forum A1200 General Chat
    Replies: 8
    Last Post: 11-11-2007, 11:22 PM
  5. SWAP FILE HELP
    By ROKR in forum E6 General Chat
    Replies: 1
    Last Post: 07-27-2007, 03:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1