Re: ramdisk creation

2009-06-12 Thread Wojciech Puchar


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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ramdisk creation

2009-06-12 Thread Zbigniew Szalbot

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org