ramdisk creation

Zbigniew Szalbot z.szalbot at lcwords.com
Fri Jun 12 13:15:41 UTC 2009

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

More information about the freebsd-questions mailing list