Help - Search - Members - Calendar
Full Version: How Do I Setup Swap Space?
OESF Forums > General Forums > General Support and Discussion > Software
g333
How do I do this??

Swap space

The following demonstrates how to configure a 128MB swap file on the C3000's harddisk.

# su
# dd if=/dev/zero of=/hdd3/swapfile bs=1048576 count=128
# mkswap /hdd3/swapfile
# swapon /hdd3/swapfile
# echo "/hdd3/swapfile swap defaults 0 0" >> /etc/fstab

To enable swap type: swapon /hdd3/swapfile

To disable swap type: swapoff /hdd3/swapfile

To check swap status type: cat /proc/swaps
adf
or grab swapd off elsi. i use it on my 6k and love it!
g333
Thanks, I will try that software but if anyone knows which is better or faster on the Zaurus please tell me tongue.gif

Wouldn't it be better to set a chunk of the HDD as memory?
g333
http://elsix.org/index.php?w=download&p=2675 that's where I found it.
adf
rather than the sd, you mean? probably. I bet if you poked around in the ipk you'd find an editable script that you could change to do that
g333
I got that swapd program and I'm running it but I don't know if it actually does anything. How can I check if it is doing anything?
pgas
open a terminal and type
CODE
free

or cat
CODE
/proc/meminfo
g333
I set up the swapfile using Qkonsole and everything seems okay.

/proc/meminfo didn't work though (Permission denied)
offroadgeek
QUOTE(g333 @ Apr 7 2005, 01:28 PM)
How do I do this??

Swap space

*


check out this wiki doc on creating swap files (in case it helps)..

http://www.oesf.org/index.php?title=Creating_a_Swap_File
g333
offroadgeek do you have a Japanese version of the SL-C1000. I want to get the train software it comes with also the dictionary in it (version 1.1.0)
offroadgeek
QUOTE(g333 @ Apr 16 2005, 02:37 PM)
offroadgeek do you have a Japanese version of the SL-C1000. I want to get the train software it comes with also the dictionary in it (version 1.1.0)
*


I do, however streamline did the english conversion on it and made a few other changes/additions (changed the boot up screen, installed the kopi apps, etc.).

Would you like to get some files off the z? PM me if you'd like to just ssh in and grab what you need.
doc
I have used Qswap: http://www.killefiz.de/zaurus/showdetail.php?app=811
doc
P.S. Whatever happened with the new Zaurus Software Index site?
mikew
Has anyone tried the swapfile on a C series Zaurus using Cackoo ROM?

Looks a better solution than Cackoo which can only use flash card but I am concerned as the Wiki is about 3 years old as far as I can make out.

Mike
bluedevils
it's here http://www.elsix.org/



QUOTE(doc @ Apr 18 2005, 07:43 AM)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.