# dd if=/dev/zero of=/usr/SWAPFILE bs=1m count=2000
====== /etc/rc.confに追加 ======
# vi /etc/rc.conf
---追加----
swapfile="/usr/SWAPFILE"
====== 確認 ======
# pstat -s
Device 1K-blocks Used Avail Capacity
/dev/ad0s1b 524288 120 524288 0%
/dev/md0 2048000 136 2048000 0%
Total 2572288 256 2572032 0%