Using mdconfig for swap space
Peter Steele
psteele at maxiscale.com
Tue Sep 8 22:51:30 UTC 2009
Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this:
mdconfig -a -t swap -f /var/swap0 -s 4g
swapon -a /dev/md0
to add 4G to the system swap space backed by the file /var/swap0. How would this compare to repartitioning my hard drive and adding a new 4GB swap partition?
More information about the freebsd-questions
mailing list