tmpmfs (configured from /etc/rc.conf) uses mdmfs under /tmp/, essentially doing the same as if you issued mdconfig -a -t swap -u0 && newfs -U /dev/md0 && mount /dev/md0 /tmp
tmpfs is, AFIK a self contained filesystem & memory disk driver, supposedly designed to be a memory disk. Maybe one of...