View Single Post
Old 08-19-2015, 04:03 AM   #59
newman
homo viator
newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.
 
newman's Avatar
 
Posts: 78
Karma: 252594
Join Date: May 2010
Device: Kindle DXi with 3.4.2 firmware, Kobo Glo HD
@NiLuJe: Thank You for the Busybox!

I did this:
Code:
[root@kindle us]# dd if=/dev/zero of=/mnt/us/swapfile bs=1M count=1
1+0 records in
1+0 records out

[root@kindle us]# ./busybox mkswap /mnt/us/swapfile 
Setting up swapspace version 1, size = 1044480 bytes
UUID=bfec37b9-a5b7-46c1-a081-394768e00208

[root@kindle us]# ./busybox swapon /mnt/us/swapfile 
swapon: /mnt/us/swapfile: Invalid argument
And "swapon: swapfile has holes" is in dmesg. How could it be with holes? (It's the same even if I try to activate the swap via swapon -a and a record in /etc/fstab.)

Perhaps I need to use (loop?) swap partition after all?
newman is offline   Reply With Quote