I don't know what you mean by `set your swap partition to be a directory...` cause the swap partition doesn't contain a filesystem and cannot be mounted. Anyway, to change your swap partition just allocate some space, then do
mkswap /dev/sdb8 (<- change the dev/... stuff to suit your needs) and then change/add a line to your /etc/fstab file:
Code:
/dev/sdb8 none swap sw 0 0
Finally do a
swapon -a and you'll be set.