Editing Ereswap

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 42: Line 42:
edit:
edit:
-
  /home/user/.config/ereswap/config
+
  /home/user/.ereswap/config
...providing locations for main swap, it's size, and backup swap.  
...providing locations for main swap, it's size, and backup swap.  
'''Then, run:'''
'''Then, run:'''
-
  /home/user/.config/ereswap/adjust-rcS-late.sh
+
  /home/user/.ereswap/adjust-rcS-late.sh
It will adjust Your "/etc/event.d/rcS-late", to - during boot - enable Your main swap and to reset Mb's-written-to-swap counter. This step must be done only once.
It will adjust Your "/etc/event.d/rcS-late", to - during boot - enable Your main swap and to reset Mb's-written-to-swap counter. This step must be done only once.
'''Now, at any time, invoke:'''
'''Now, at any time, invoke:'''
-
  ereswap
+
  ereswap.sh
-
...from terminal. It will check counter and inform You about amount of data left before hitting swap fragmentation (or any arbitrary value set in config file), or, how many Mb's after it You are. In second case, it will also re-enable swap.
+
...from terminal. It will check counter and inform You about ammount of data left before hitting swap fragmentation (or any arbitrary value set in config file), or, how many Mb's after it You are. In second case, it will also re-enable swap.
'''To re-enable swap at any time, unconditionally, invoke:'''
'''To re-enable swap at any time, unconditionally, invoke:'''
-
  freswap
+
  freswap.sh
...it's useful, if You're close to hit limit, and planning to do memory-hungry stuff.
...it's useful, if You're close to hit limit, and planning to do memory-hungry stuff.
'''If You ever change Your swap's location, just edit config file and invoke:'''
'''If You ever change Your swap's location, just edit config file and invoke:'''
-
  /home/user/.config/ereswap/update-rcS-late.sh
+
  /home/user/.ereswap/update-rcS-late.sh
It will update Your rcS-late with respect to new swap locations and/or size.
It will update Your rcS-late with respect to new swap locations and/or size.

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)