> I understand that there is a maximum size of a swap partition but I do not
> understand why the difference between what fdisk reports about the size
> (in blocks) of my swap and /proc/swaps is not a constant. I.e. on one
> machine the difference is 4 blocks (a page), and on another it is 7
> blocks, which is not even integer number of pages. The only question I
> have about this is:
>
> Why?
/proc/swap gives the usable size of the swap partition.
Total size = 4k bitmap; data; < 4k too_small_to_use_leftover;
This varies from 4k (just the bitmap) to 7k (bitmap plus
maximum slack).
Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
-
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.altern.org/andrebalsa/doc/lkml-faq.html