What is the difference between swap entries in fstab?
Solution 1:
When the filesystem type is swap
, neither of these options mean anything. In fact, the only option that makes sense is pri=n
, specifying the swap space priority. Usually you don't need it and can just specify defaults
:
UUID=foo none swap defaults
(The mount point, as well as dump and pass fields, are irrelevant too.)