I've seen that sometimes the entry for the swapfile in fstab is specified as "none" for the mount point and sometimes as "swap" instead. For example:
/swapfile none swap defaults 0 0 /swapfile swap swap defaults 0 0 The fsrtab man page says that "none" should be used, but Red Hat's documentation uses "swap" instead.
What is the difference between those two?
fstab? Generally, the second field of thefstabis thename, which is usually a pathname to mount on. A swap partition does not have a pathname, so it has no meaning here. You could name it "gobbledegook" and the mounter will not care. The use of 'none' or 'swap' are just conventions, and may aid some tools in managing such partitions.