Difference between swap partition and swap file?
Answers were Sorted based on User's Feedback
Answer / chin
Swap partition maintained seperate partition.
same swap partition can be used in two OS within single
machine.
If system crashes their is a chance to recover itor may not
be corrupt the partition.
Less fragmented.
where as swap file takes very less space. we can increase
the space very easily, compared to swap partition.
SWap file system fragmented.
If system crashes their is a huge chance to lost the swap
file system.
| Is This Answer Correct ? | 33 Yes | 3 No |
SWAP Partition :
Swap partition is the double the RAM size. This partition
must be create at the time on linux installation.
Whenever RAM is FULL that time space will be taken from SWAP
partition which is available in HDD parmantelly.
SWAP File:
Swap file can be created after the installation any time.
Swap files are normally slower than SWAP partition.
This we can set as temporary purpose. For quick access the
file or data can create SWAP files.
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / raghuwanshi.raviraj216
Swap partition maintained seperate partition.
same swap partition can be used in two OS within single
machine.
If system crashes their is a chance to recover itor may not
be corrupt the partition.
Less fragmented.
where as swap file takes very less space. we can increase
the space very easily, compared to swap partition.
SWap file system fragmented.
If system crashes their is a huge chance to lost the swap
file system.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / riju.c
Swap partition maintained seperate partition.
same swap partition can be used in two OS within single
machine.
If system crashes their is a chance to recover itor may not
be corrupt the partition.
Less fragmented.
where as swap file takes very less space. we can increase
the space very easily, compared to swap partition.
SWap file system fragmented.
If system crashes their is a huge chance to lost the swap
file system.
| Is This Answer Correct ? | 2 Yes | 6 No |
How do I create a .txt file?
What are whois tools?
How do I get to root directory in linux?
How do you save a file in linux?
My linux machine is crashed due to root file system, I need not to bother about the root file system, but i need to take care of /etc, /usr, like that.,, can i recover these file systems?
I have my default runlevel is init5 now i have configured to init 3,now i wanna run my system in init3 process without reboot the system .How will you do for this scenario?
what is command like " #(cd unixos; pwd) " tell me OUTPUT
How do I list all processes in linux?
How do I check my cpu cores?
What is the difference between diff and cmp command in unix?
Is llvm a compiler?
In Linux how you set time a limit on quota?