OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: daniel3000 on May 12, 2006, 01:35:20 pm
-
Hello,
I'm trying to create an init script which enables my swapfile at startup.
It is on Cacko 1.23 (SL-C3100).
script /etc/rc.d/init.d/swap,
linked in to rc3.d, rc4.d and rc5.d as S99swap.
contains (besides others) the line
swapon /hdd3/.swapfile
but on startup, I see the message flashing by that "swapon" cannot be found.
Even if I change this to
/sbin/swapon /hdd3/.swapfile
it still says that swapon is not available.
How can I know how this binary is available at the time when the init scripts are executed? OR does someone know already?
thanks
daniel
-
Hello,
I'm trying to create an init script which enables my swapfile at startup.
It is on Cacko 1.23 (SL-C3100).
script /etc/rc.d/init.d/swap,
linked in to rc3.d, rc4.d and rc5.d as S99swap.
contains (besides others) the line
swapon /hdd3/.swapfile
but on startup, I see the message flashing by that "swapon" cannot be found.
Even if I change this to
/sbin/swapon /hdd3/.swapfile
it still says that swapon is not available.
How can I know how this binary is available at the time when the init scripts are executed? OR does someone know already?
thanks
daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126757\"][{POST_SNAPBACK}][/a][/div]
I included these things in "/opt/QtPalmtop/qpe.sh"
-
I included these things in "/opt/QtPalmtop/qpe.sh"
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126904\"][{POST_SNAPBACK}][/a][/div]
I looked at that file and I am not sure why there is a "while true" loop in there
So I don't know where to put the commands: before the loop, into the loop or behind the loop.
Could you please give some advice?
Thanks!
daniel
-
goto the script for mounting your hdd's and add a swapon /you/path to the bottom of the script. I believe the script responsible for mounting your hdd's is /sbin/hddmount
I have more info at my site on this, currently I am running a 128mb swap partition. /dev/hdx4