In Linux you can choose things like ext3 and reiserfs for partitions. For the swap partition, you just choose "swap." What file system is this, actually? Can you just create an ext3 partition and make it a swap partition? How would that be different?
Linux – What file system is swap on Linux
filesystemslinuxpartitioningswapUbuntu
Best Answer
Swap is no actual file system. It is just a reserved part of the disk that is raw addressable memory with no special structure.
mkswap creates a header for the swap area with some additional information. From swapheader.h of the util-linux-ng package:
Header version 1 is the currently used one. Thats about all the magic behind the raw structure of swap.