Workspaces Queston *answered*

Jay Ridgley jridgley2 at austin.rr.com
Fri Jun 12 16:32:12 UTC 2020


On 6/12/20 11:04 AM, Liam Proven wrote:
> On Fri, 12 Jun 2020 at 17:39, Colin Law <clanlaw at gmail.com> wrote:
>> There is nothing wrong with using a swap file (as far as I know).  I
>> haven't used a swap partition for years.  It is so much easier to
>> change the size with a file.
> Agreed -- but in theory a swap partition might be slightly faster. It
> should not get fragmented, it doesn't share space with the root
> filesystem (which could be getting full), it can even be on a
> different physical disk...
>
> On some of my machines, where I have both types of drive, I keep / on
> SSD but /home and swap on HD. Slower but lots more room, it doesn't
> wear out my flash media, etc.
>
> Yes, it's much slower, but then, if I am hitting swap hard, things are
> going to be slowing way down anyway...
>
I am an old stick in the mud and have always used a swap partition. The 
only thing is it has been years since I had to define one in /etc/fstab.

I have a partition on another drive defined as swap partition..

/dev/sda5       380391424 390721535  10330112   4.9G 82 Linux swap / Solaris

if I add this line to my /etc/fstab is it correct?

/dev/sda5       /swap    swap    default 0 0

or does /swap need to be none?

What do I do with the existing /swapfile entry?

Thanks,

Jay

-- 
Jay Ridgley
jridgley2 at austin.rr.com
Registered Linux User ID - 9115
https://linuxcounter.net/cert/9115.png
Registered Ubuntu User ID - 23320





More information about the ubuntu-users mailing list