Difference between swap partition and swap file?

Answers were Sorted based on User's Feedback



Difference between swap partition and swap file?..

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

Difference between swap partition and swap file?..

Answer / venkat

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

Difference between swap partition and swap file?..

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

Difference between swap partition and swap file?..

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

Post New Answer

More Linux Commands Interview Questions

what is the command to make a process to run in the foreground from background?

5 Answers  


What is mask and umask in linux?

0 Answers  


Explain command grouping in linux?

0 Answers  


What is unix finger command?

0 Answers  


How do makefiles work?

0 Answers  






How can we increase disk read performance in single command?

0 Answers  


What are runlevels in linux?

0 Answers  


How do I test my cpu speed?

0 Answers  


How do make computer faster?

0 Answers  


How do you grep?

0 Answers  


How many types of dos commands are there?

0 Answers  


What are different command to check ram, process and hdd of linux machine?

0 Answers  


Categories