You are not logged in.

#1 2023-05-07 08:39:43

usbstick
Member
Registered: 2022-05-20
Posts: 14

[SOLVED] On swap partitions and swapfiles

I've got a question, which funnily enough I can't seem to find an answer to online: do I still need a swap partition if using a swapfile? Or does setting up a swapfile eliminate the need for a swap partition?

Last edited by usbstick (2023-05-07 09:09:11)


Why use windows when have linux? Why use computer when can debug?

Offline

#2 2023-05-07 08:58:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: [SOLVED] On swap partitions and swapfiles

The latter.

The point of the swap file is to not be limited by the normally much more troublesome to change size consideration of the full partition. For the general "normal" use cases the swap file has the same purpose as the swap partition so you can just have one of them.

Offline

#3 2023-05-07 09:08:26

usbstick
Member
Registered: 2022-05-20
Posts: 14

Re: [SOLVED] On swap partitions and swapfiles

Thanks a lot. I'll mark the topic as closed.


Why use windows when have linux? Why use computer when can debug?

Offline

Board footer

Powered by FluxBB