On Tue, 8 Sep 2009 16:51:20 -0500
Peter Steele <pste...@maxiscale.com> wrote:

> 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

FWIW that's already supported by adding  swapfile="/var/swap0" to

Your arguments are wrong BTW "-t swap" creates a device *backed* by
swap. And the size comes from the size of the supplied file - which you
typically create with dd.
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to