Date: Fri, 12 Jun 2009 15:15:35 +0200 From: Zbigniew Szalbot <z.szalbot@lcwords.com> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: freebsd-questions@freebsd.org Subject: Re: ramdisk creation Message-ID: <4A3254F7.9060908@lcwords.com> In-Reply-To: <alpine.BSF.2.00.0906121355060.1447@wojtek.tensor.gdynia.pl> References: <4A31F0A2.3060704@lcwords.com> <alpine.BSF.2.00.0906121355060.1447@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Wojciech Puchar pisze: >> >> So (1) I need to create an entry in /etc/fstab >> md /var/amavisd/tmp mfs rw,-s512m 2 0 > > If you have FreeBSD 7.* use tmpfs filesystem > > tmpfs /var/amavisd/tmp tmpfs rw,size=536870912 0 0 > > It's filesystem designed for this. Works well. Thanks Wojtek - I appreciate it. I do have 7.2 so I can use it but having already added md to the system, I wonder if there is any advantage of replacing it with tmpfs. If there is, what is the best way to change it? Would I just unmount /var/amavisd/tmp and then proceed with the tmpfs thing? Thank you! Zbigniew Szalbot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A3254F7.9060908>