> I quickly downloaded and built BusyBox v1.10.0. But it still gave the same =
 > "hole" problem. See below.
 > 
 > Are there any debug flags I can turn on ? I'll start going through the docu
 > mentation. I'm relatively new to BusyBox, and I'm wondering if I'm just mis
 > sing something out required to create a swapfile.

your file probably doesn't have holes.  busybox just thinks it does.
look in util-linux/swaponoff.c and find the "swap file has holes"
error message.  add some printfs near there to check the values
being used in the test:
               if (st.st_blocks * (off_t)512 < st.st_size)

check that they all look right.

paul
=---------------------
 paul fox, [EMAIL PROTECTED]
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to