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 is the default number of shell commands saved in the history list of .cshrc file?

544


How do you sort cpu in top command?

524


How do I know my linux shell version?

506


What is the difference between cd and cd in linux?

508


How does case sensitivity affect the way you use commands?

650






How many interfaces(ethernet cards) are working using single command?

524


What is the difference between command ‘ping’ and ‘ping6’?

525


How do you create a file?

525


How cp command works in linux?

524


What is the programming language for linux?

518


How compile c++ program in cmd?

599


What is a makefile in c?

575


What does umask 077 mean?

543


What is a makefile in linux?

482


What command do you type to find help about the command who?

540