Date: Fri, 12 Jun 2009 08:07:30 +0200 From: Zbigniew Szalbot <z.szalbot@lcwords.com> To: freebsd-questions@freebsd.org Subject: ramdisk creation Message-ID: <4A31F0A2.3060704@lcwords.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A31F0A2.3060704>