Associate a Virtual Memory Disk with the MFS file and then mount that disk:

   mdconfig -a -t vnode -u 1 -f mfsroot
   mount /dev/md1 /mnt

Unmount and destroy memory disk:

   umount /dev/md1
   mdconfig -d -u 1

 

Leave a Comment