next up previous contents
Next: Disabling Swap Space Up: Make a filesystem Previous: Creating Swap Space   Contents Enabling Swap Space

So now we need to add the swap partition to /etc/fstab so it's automatically enabled the next time we boot. We add the following line:

dev/hdb2               swap             swap   defaults           0 0
And we can enable the swap partition without rebooting by doing the following:

# swapon /dev/hdb2