Disk/partitioning/file system

if i run gnome-disks in terminal , i get this

does this look normal? where's the swap space ?
reason asking is i saw another topic here (which i can't find now) and user had screenshot of his gnome-disks thingy and it shows a partition for swap?

i'm just curious if my swap uses any disk space from my SSD unnecessary , my swappiness is set to 0.
when i installed zorin i've let the partitioning things to auto, so not sure if part of my SSD is for swap ?
from my pic it doesn't look like it ? but then how am i able to adjust swappiness ?
sorry but i'm confused lol

Edit: pic from my task manager shows swap (2Gb) , so did swap partinion 2Gb of my 4Gb SSD for swap?

If it's an SSD you don't need swap.

yes , i learned that just yesterday.
what i want to know is , when i installed zorin , did it take some of my SSD for swap?

Swap can work using a partition, which has been the usual way of doing it for years, or using a so-called swapfile. It's essentially the same thing: space allocated on the drive that can be used as RAM.
If I'm not mistaken, that's how Ubuntu has been doing it for a while, and I suppose by extension Zorin OS as well.

If you run on the terminal: cat /etc/fstab you should see a line in there that points to a /swapfile (it may be called differently but this is the default). And indeed, that seems to be the case on a fresh install of Zorin OS 17:

Note that in either case, a swappiness value of 0 means that this allocated space will not be used, but it won't delete it, either.

1 Like

It probably only exists a Swap File. That is - like the Name says - only a File and not a whole Partition. When you open Nautilus and go to ''other Places'' and then chose Your Machine, you can find it:

Every Time, I install Zorin it only creates a Swap file, not a Partition. I'm not sur if this is the common Behavior on all Machines.

It usually is if you install automatically. I always prefer manual partitioning to preserve data.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.