I created a Red Hat 9 virtual machine on VMware Workstion 9 by allocated the physical memory of 256MB. See pic.
When installing Linux, I created the swap partition with a size of 256MB. See picture.
And got the partitioning like below.
But after the installation completed, I checked through the command
I got the result
SwapTotal: 1052248 kB SwapFree: 1047956 kB
I got a screenshot
Which is very confusing. Is the size of the swap space decided by the "Add Partition" during OS installation process?