mdconfig -a -t malloc -s 10M -u 0 mdconfig -a -t swap -s 10M -u 0 mdconfig -a -t vnode -f /path/to/image/file -u 0 mdconfig -d -u 0