Difference between swap partition and swap file?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

551


How do I run a bash script in linux?

498


What is the command to delete a file linux?

514


What is $@ in shell?

524


What does chmod 755 do?

469






How do I check command history?

532


What is cat command in linux?

520


Which are the linux directory commands?

552


What are the commands in linux?

521


Explain about communication features in UNIX?

613


How do you kill a process in linux?

546


The command ‘umask -S’

581


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

1143


Enlist some linux to file content commands?

558


What is mask and umask in linux?

528