tmpfs doesn't mount automatically after reboot

Charles Rapenne charles.rapenne at gmail.com
Fri Aug 20 09:10:43 PDT 2010


Hello

I'm using tmpfs for the /tmp directory on my laptop,
but everytime it boots, it does not mount /tmp.

I added the following line in /etc/fstab

tmpfs   /tmp      tmpfs   rw,mode=777,size=1G 0 0

and

tmpfs_load="YES" in /boot/loader.conf


When I want to mount it manually, I get this message:

#mount /tmp
tmpfs: vfsload(tmpfs): File exists

If I kldunload tmpfs && kldload tmpfs, I can mount it correctly !

If I unload the kernel module then I reboot, it'll mount /tmp.

I'm using a custom kernel with SMP support (I only uncommented the
line about SMP) with DragonFly 2.7.3


I'm not familiar with mailing-lists, I hope I'm using it correctly and
I gave you enought informations too.


I'm also about to start a project of auto-benchmarking to find
regressions every day (like phoronix do with Linux),
but I'll tell you more about this if it works !






More information about the Bugs mailing list