Reply To: Unslinging help

#5689
Charly86
Participant

Sherlock

you just need to do a (case sensitive)

touch ./ext3flash

this prevent swap on flash and set partition with noatime flag to save flash write

But sure you must create a swap partition on external drive (1go) and activate it by
mkswap /dev/sdb2 (where 2 is partition number)

after, create a script in /unslung (rc.1 for example) containing

# rc.1 (activ swap if present on external drive)
#!/bin/sh
/sbin/swapon /dev/sdb2
return 1

install procps top command by
ipkg install procps

to see swap size and use you can use (as said by fizze)
top
cat /proc/swaps
cat /proc/meminfo
free

hope that’s help you