![]() |
2012-06-03
, 20:38
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#2
|
swapon /dev/swap1.img swapoff /dev/mmcblk0p3; swapon /dev/mmcblk0p3
![]() |
2012-06-03
, 20:44
|
|
Posts: 1,625 |
Thanked: 998 times |
Joined on Aug 2010
|
#3
|
Is it possible to swap to rootfs file? i tryed
and my phone restarted...
Any help
The Following User Says Thank You to misterc For This Useful Post: | ||
![]() |
2012-06-03
, 22:58
|
Posts: 27 |
Thanked: 14 times |
Joined on Nov 2011
|
#4
|
I don't know why it restarted but the priority of your new swap will be lower than the default swap and thus it will get used only when the 768 emmc swap fills. To enable it with higher priority you either need to use swapon from easydebian orCode:swapon /dev/swap1.img swapoff /dev/mmcblk0p3; swapon /dev/mmcblk0p3
swapon /dev/swap1.img
![]() |
2012-06-03
, 23:01
|
Posts: 27 |
Thanked: 14 times |
Joined on Nov 2011
|
#5
|
you better keep as much as possible of "/" free
when the "/" aka root of a *nix system is filled, it simply stops, indeed.
![]() |
2012-06-03
, 23:14
|
Posts: 189 |
Thanked: 171 times |
Joined on Jul 2011
|
#6
|
![]() |
2012-06-04
, 00:00
|
Posts: 27 |
Thanked: 14 times |
Joined on Nov 2011
|
#7
|
![]() |
2012-06-04
, 02:05
|
Posts: 189 |
Thanked: 171 times |
Joined on Jul 2011
|
#8
|
mydocs is not rootfs... its emmc... rootfs is formated not as ext3 ?! or ext2? can i format let say 50 MB as ext3? if yes then how
?
mkswap ./swapfile1
The Following User Says Thank You to pablocrossa For This Useful Post: | ||
![]() |
2012-06-04
, 07:20
|
Posts: 27 |
Thanked: 14 times |
Joined on Nov 2011
|
#9
|
![]() |
2012-06-04
, 14:29
|
Posts: 189 |
Thanked: 171 times |
Joined on Jul 2011
|
#10
|
i already have a swap on microsd... so it is supported. Mydocs isn't located on nvram(rootfs) chip.It would be pointless i already have 768 MB by default from emmc...
Anyone , is it possible to have let say 40MB of swap on rootfs,nvram chip?
Any help
http://www.superlaptop.info
va ofera laptopuri ieftine din clasa business la cele mai mici preturi. Laptopurile business class sunt construite din componente de cea mai buna calitate garantand astfel o functionalitate de lunga durata.
Last edited by gostyuk; 2012-06-03 at 22:58.