4

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?

  • Are you using Red Hat? – Tomasz Sep 22 '16 at 15:59
  • I am using Centos. – mart Sep 23 '16 at 9:08
2

It's only a name. You can use any string, for example: pinkunicorn.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.