Re: Swap partition vs swap file

From: Jan Engelhardt
Date: Wed Jul 13 2005 - 06:09:44 EST


>> Linux doesn't grow swapfiles at all. It uses what's there at mkswap time.
>> You can make new ones of course - manually.
>
>And this part. I've never known linux to grow the swap file. I did try the
>sparse one a long time ago. Of course it didn't work.

I can't remember where exactly I read it but: when swapon is called, a
fixed-size(determined at swapon) bitmap of the swap blocks is generated (to
cope with fragementation of swapfiles).
Can somebody confirm this?


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