@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?