Swap file/partition?


quadomatic

DingooWiki Admin
Joined
Mar 26, 2007
Messages
1,233
Location
Chicago, IL - USA
Website
www.opendingoo.com
Thanks, ended up making a swap file though:


sudo dd if=/dev/zero of=/media/EXTREME/swap.swap bs=1M count=512


sudo mkswap /media/EXTREME/swap.swap


Then I added lines to my fstab:


/dev/mmcblk0p1 /media/EXTREME vfat umask=000,auto,rw,user,exec,dev,async 0 0


/media/EXTREME/swap.swap none swap sw 0 0


Hope this helps!
 
Last edited by a moderator:

Coldbird

Member
Joined
Aug 15, 2010
Messages
398
That approach you described however isn't exactly optimal you know... as it forces the SD card, for whatever reason that is, into Read-Only mode. :mellow:
 

kloplop321

Psychotic Trans-dimensional Being
Joined
May 20, 2008
Messages
1,145
Website
kloplop321.com
I didn't follow any guide, I just made a swap file, and my card is still in read and write.


(And yes, I know it is in use because free doesn't say 0 used for swap)
 
Top