![]() |
2011-02-22
, 11:56
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#111
|
![]() |
2011-03-14
, 01:35
|
Posts: 2 |
Thanked: 0 times |
Joined on May 2010
@ Russia Pyatigorsk
|
#112
|
sfdisk -l /dev/mmcblk0 | /bin/busybox awk \ -v home_opts="$home_opts" -v fat_opts="$fat_opts" \ -f /usr/lib/genfstab.awk > $tmp_fstab #BEGIN sfdisk -l /dev/mmcblk1 | /bin/busybox awk \ '/\/dev\/mmc/ && $6 == 82 {printf "%s none swap sw 0 0\n", $1}' >> $tmp_fstab #END cmp -s $tmp_fstab $fstab || cp $tmp_fstab $fstab rm -f $tmp_fstab if [ $ACT_DEAD -eq 0 ]; then #BEGIN /bin/busybox awk '/swap/ {printf "/sbin/swapon -p 0 %s;",$1}' /etc/fstab | sh /bin/busybox grep dev /proc/swaps >/dev/null || echo "Failed to enable paging partition." #END # Setup lowmem module
![]() |
2011-06-19
, 00:46
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#113
|
In order to utilize both swap partitions to balance the I/O load (striping), they should have the same priority. The /bin/swapon command shipped with Maemo is the busybox version that does not support -p option. If you don't have Easy Debian environment installed, download the stock Debian mount package for the armel architecture and extract (-x) the swapon binary from it, and copy it somewhere e.g. /sbin/swapon.debian.
![]() |
2011-06-19
, 01:31
|
Posts: 182 |
Thanked: 40 times |
Joined on Apr 2010
@ Seatle, WA
|
#114
|
Where do i download the "stock Debian mount package for the armel architecture" so i can extract the swapon from it
or can anybody zip it and put it here to download?
![]() |
2011-06-19
, 11:28
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#115
|
![]() |
2011-06-19
, 12:31
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#116
|
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
![]() |
2011-06-19
, 18:54
|
Posts: 182 |
Thanked: 40 times |
Joined on Apr 2010
@ Seatle, WA
|
#117
|
hmm been trying different google and that.
can anybody point me to the site necessary or just upload the "swapon" & "swapoff" from the arm.
The Following 3 Users Say Thank You to mehulrajput For This Useful Post: | ||
![]() |
2011-06-19
, 19:07
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#118
|
here you go. just use the swapon from this deb.
no need for swapoff from this package.
btw, thanks for giving the community awesome test for batteries.
![]() |
2011-06-19
, 19:19
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#119
|
![]() |
2011-06-20
, 21:35
|
Posts: 182 |
Thanked: 40 times |
Joined on Apr 2010
@ Seatle, WA
|
#120
|
hmm got some missing libs etc...
but tried the busybox-POWER!!!! hehe and that worked just fine