Re: crazy swapping

Khimenko Victor (khim@sch57.msk.ru)
Sun, 29 Nov 1998 20:24:09 +0300 (MSK)


29-Nov-98 17:37 you wrote:
> When you create a file that have holes (using
> creat();lseek(10000000);write("xxx");close()), and make it swap file,
> system crashes and you get "rw_swap_page: bad swap file" message. Tested
> on 2.0.33 and 2.1.129.

Swap file SHOULD be WITHOUT ANY HOLES. man mkswap

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/