> Shouldn't we 'swapoff' before 'swapon' so that the device can be 'swapon' in > the system generation?
If you do that after checking that the swap device / file is already on, you cloud also just do nothing then, I'm not sure there's anything to be gained by doing off+on... WDYT ? -- Vincent Legoll