Date: Tue, 8 Sep 2009 16:51:20 -0500 From: Peter Steele <psteele@maxiscale.com> To: "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org> Subject: Using mdconfig for swap space Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com>
next in thread | raw e-mail | index | archive | help
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 par= tition?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7>