Questions about ramdisk in FreeBSD

Hi,

I need a ramdisk similar to the tmpfs /dev/shm that is automatically setup in debian.

Is FreeBSD doing anything similar automatically?

If not, what is the recommended way to set this up in the boot process?

Thanks in advance for your help,
Pete S
 
I want to use a ramdisk to exchange information between different scripts and programs. Since these files will be written and read continuously I don't want to place them on the SSD I use as a system drive.

In debian (and most other linux distros) a tmpfs ramdisk is always created and mounted on /dev/shm during boot. So I used that location in the past but as I have switched to running FreeBSD I was wondering what options I have.

Thanks,
Pete
 
Thanks, it worked perfectly after I removed the partition already mounted on /tmp in /etc/fstab.
 
Thanks! I'll stick to the mfs as the man page says that tmpfs is currently considered an experimental feature.
 
It has been "experimental" for the past two years and I've been using it every single day for as long. It's currently holding my browser's profile.
 
Back
Top