Instructions for deleting the swap file after import in Ensim
Eg. partition - /dev/hda3 mounted on /, swap file - /var/swapfile.
Turn off swapping for file “/var/swapfile” with the following command:
swapon, swapoff - enable/disable devices and files for paging and swapping
Swapoff disables swapping on the specified devices and files. When the -a flag is given, swapping is disabled on all known swap devices and files (as found in /proc/swaps or /etc/fstab)
#swapoff /var/swapfile
Delete the file “/var/swapfile” with the following command:
#rm -f /var/swapfile
Leave a Reply
You must be logged in to post a comment.