ramdisk creation

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Fri Jun 12 11:58:37 UTC 2009

> 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.

More information about the freebsd-questions mailing list