Re: Swap partition vs swap file

Jan Engelhardt
2005-07-13T11:03:26Z

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