Author Topic: Swap Partition, Sharp Rom  (Read 3333 times)

tinfoil

  • Newbie
  • *
  • Posts: 9
    • View Profile
Swap Partition, Sharp Rom
« 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.
????- SL-C3100 Android/Zubuntu - DCF-660 Wifi - CF HD transplant
????- SL-5600 Angstrom - DCF 660 Wifi
Frankenstein- seriously hacked up Dell inspiron 8200 on Gentoo P4M 2.2Ghz, 2GB, Quadro video,
Opiate- Core 2 Quad @ 3Ghz, 8GB, 2x 1TB, 2x 9800GTX+ on Linux Mint x64, Vista Ultimate x64 (for the games)
Aenima- 15" Powerbook G4

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Swap Partition, Sharp Rom
« Reply #1 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...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Swap Partition, Sharp Rom
« Reply #2 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.