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

Hi everyone i want to learn Devops in Hyderabad can anyone please suggest me best institute.

1143


Which of the Commands delete the files from the /tmp directory, issued by non-root user?

638


When and how linux developed?

558


What is the bash in linux?

530


Which command would you use if you want to remove the password assigned to a group?

519






How do I run bash on windows?

495


What language is a makefile written in?

511


What does uname command do?

589


What is the copy command in linux?

464


What is #!/ Bin sh?

541


Which commands are used to set a processor-intensive job to use less cpu time?

553


Does cp overwrite?

553


What is command line in unix?

505


Explain the linux directory commands along with the description?

499


What is the use of finger command in linux?

511