Possibility to create swap partition if extended partition is out of space?
I have a few questions:
1. Can we create a swap partition if no space is left in the extended partition?
2. How does the kernel priortize and decide about which files to swap? especially to cache or to swap?
You can create a swap partition as long as you have free space AND you have less than four primary partitions.
If not, you can still create an empty sparse file, format it with mkswap and swapon it or add it to your fstab and reboot.
About the policies the kernel follow, it's all in the source code. I didn't ever bothered to check but it surely changes with kernel versions.
|All times are GMT -5. The time now is 05:37 PM.|