OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: tinfoil on June 21, 2007, 03:13:32 pm

Title: Swap Partition, Sharp Rom
Post by: tinfoil on June 21, 2007, 03:13:32 pm
Hey folks,

I've recently put a swap partition on an SD card (/dev/mmcda2) in place and is perfectly functional when used with swapon from the console. However, it seems to disappear whenever the device is put into suspend or powered off. I have added a line in fstab, but still no lovin. I can't even get it to work if I run it from rc.local (nor can I get apache to run from within there or inetd as well, but it works fine from the commandline?)

Am I barking up the wrong tree here? There is a couple apps that I do need this for.
Title: Swap Partition, Sharp Rom
Post by: Meanie on June 21, 2007, 07:44:34 pm
Quote
Hey folks,

I've recently put a swap partition on an SD card (/dev/mmcda2) in place and is perfectly functional when used with swapon from the console. However, it seems to disappear whenever the device is put into suspend or powered off. I have added a line in fstab, but still no lovin. I can't even get it to work if I run it from rc.local (nor can I get apache to run from within there or inetd as well, but it works fine from the commandline?)

Am I barking up the wrong tree here? There is a couple apps that I do need this for.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163504\"][{POST_SNAPBACK}][/a][/div]

rc.local is not used in Sharp ROM, its commented out in rc.sysinit
/etc/fstab won't be much use either since your SD device is activated after /etc/fstab is evaluated...
Title: Swap Partition, Sharp Rom
Post by: freizugheit on June 21, 2007, 10:57:21 pm
I have been using swapfile stored in /dev/mmcda1 and it works fine.

The only thing that I need to activate the swapfile when I warm start my SL-5600.