Hello,

I would like to speed up amavisd operation by allowing it to use ramdisk, so I thought I would follow the advice given here:
http://www.stahl.bau.tu-bs.de/~hildeb/postfix/amavisd_tmpfs.shtml

However, I just want to make sure I get the procedure right. In my case, the temp folder is /var/amavisd/tmp

So (1) I need to create an entry in /etc/fstab
md /var/amavisd/tmp mfs rw,-s512m 2 0

(2) create the ramdisk
mdmfs -s 512m md /var/amavids/tmp

(3) mount the ramdisk
mount /var/amavids/tmp

Is the procedure right? I read mdmfs man and hope I am OK here.

If it is OK, I guess I need to stop amavisd before creating ramdisk and mounting it, right?

Thanks a lot for all feedback you can give me!

--
Zbigniew Szalbot
www.fairtrade.net.pl
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to