OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Accessories => Topic started by: new2006 on August 03, 2006, 04:17:59 pm

Title: Swap On Sd - Is It Possible?
Post by: new2006 on August 03, 2006, 04:17:59 pm
Hi All,

I am a new happy owner of the C1000. The OS is Cacko 1.23.
So, to use as a storage I bought a new SD card Transcend - 1GB. It works. What is the next step? Sure, I tried create a swap on the card. First try was with the memory plugins. There was no reaction for a long time. Just the battery went down slowly. Then everything has aborted. I checked the mount options - SD card is mounted read-only!    Second, third try - all the same. My battery was already empty. Recharged and again - the same. Then I decided make everything manually and started "dd". The same. The card in SysInfo is recignised as "Hitachi". Of course I have rebooted or remounted the card every time.
Could anybody advise me something to create a swap on the SD?

Thanks in advance!
Title: Swap On Sd - Is It Possible?
Post by: Cresho on August 03, 2006, 08:10:14 pm
cacko has a memory applet.

click on it on lower right corner.  highlight sd and create sd swap file.  after it is created, highlight sd again and say "ON" and you have more memory.
Title: Swap On Sd - Is It Possible?
Post by: new2006 on August 04, 2006, 05:38:33 pm
Quote
cacko has a memory applet.

click on it on lower right corner.  highlight sd and create sd swap file.  after it is created, highlight sd again and say "ON" and you have more memory.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137404\"][{POST_SNAPBACK}][/a][/div]

Thank for the answer, but in what I described in the first message, the memory applet named I "memory plugins". All the first hang problems had I with the try to create the SD swap file.    And, as I see, it is not an applet problem, cose the same is with the ordinary "dd".
Title: Swap On Sd - Is It Possible?
Post by: Da_Blitz on August 05, 2006, 06:44:30 am
use
dd if=/dev/zero of=<path to sd card>/swapfile bs=1024k count=<size in MB>
mkswap <path to sd card>/swapfile
swapon <path to sd card>/swapfile

changing anything inside <> to what it specifies
Title: Swap On Sd - Is It Possible?
Post by: new2006 on August 06, 2006, 08:02:54 am
Quote
use
dd if=/dev/zero of=<path to sd card>/swapfile bs=1024k count=<size in MB>
mkswap <path to sd card>/swapfile
swapon <path to sd card>/swapfile

changing anything inside <> to what it specifies
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137506\"][{POST_SNAPBACK}][/a][/div]

I used it, like described at the first message. During the dd command my Zaurus hanged ande the power (battery charge) went down. Some time later (any timeout?) the card was mounted read-only. And the size of the created file was some hundred K only. So it looks very similar the reaction of the system to the swap creation tries by applet and from terminal emulator.
Title: Swap On Sd - Is It Possible?
Post by: new2006 on August 22, 2006, 04:49:03 pm
Hmmm... Interesting. This brandname "transcend" was enough to play. At last I bought another SD-card. Noname 1GB for 19.90. And it works. Perfect. I could create 2 slices, make a swap and so on. Is it true, that cheaper card is better?  
Title: Swap On Sd - Is It Possible?
Post by: Meanie on August 22, 2006, 10:08:14 pm
Quote
Hmmm... Interesting. This brandname "transcend" was enough to play. At last I bought another SD-card. Noname 1GB for 19.90. And it works. Perfect. I could create 2 slices, make a swap and so on. Is it true, that cheaper card is better? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139430\"][{POST_SNAPBACK}][/a][/div]

made in Taiwan is good, everything else is crap
seriously, nowadays, the quality of most electronics is quite good that the expensive brands only differentiate themselves through better marketing and higher prices, but quality and support wise, they aren't much better....
For SD cards, they may be faster, but the Zaurus does not care so the cheaper the better...