Difference between swap partition and swap file?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the command used for list the contents of your home directory, current directory and all subdirectories?

519


How to write the output of a command to a file?

573


What is difference between sh and bash?

510


What is du command in linux?

550


Which command is used to find what is in your home directory?

560






What is linux load average?

592


What is git command?

526


Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?

554


How do you run a command for a limited time?

588


What is the pwd command?

571


What is mkdir p linux?

543


Why we use pwd command in linux?

545


Brief about the command ff?

594


Explain any one service which are working on udp only?

520


What is a ulimit in unix?

514