Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2009 13:57:01 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Zbigniew Szalbot <z.szalbot@lcwords.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ramdisk creation
Message-ID:  <alpine.BSF.2.00.0906121355060.1447@wojtek.tensor.gdynia.pl>
In-Reply-To: <4A31F0A2.3060704@lcwords.com>
References:  <4A31F0A2.3060704@lcwords.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0906121355060.1447>