I've just installed FreeBSD 9.1, and are on the way to install Qmail, but come into an issue, that I will put /var/qmail/tmp on a RAMdisk. On CentOS it's done like automating RAMdisk creating, and add this to my /etc/rc.local like:
So, how could this be done in FreeBSD?
# /sbin/mke2fs -q -m 0 /dev/ram0
(format the ramdisk)# /bin/mount /dev/ram0 /var/qmail/tmp
(mount the ramdisk to the directory)# /bin/chown qmailq qmail /var/qmail/tmp
# /bin/chmod 1777 /var/qmail/tmp
So, how could this be done in FreeBSD?