[DragonFlyBSD - Bug #1808] (Closed) tmpfs doesn't mount automatically after reboot

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun May 15 10:56:28 PDT 2022


Issue #1808 has been updated by tuxillo.

Description updated
Status changed from New to Closed
Assignee changed from 0 to tuxillo

Cannot reproduce:

<pre>
root at dev03:~ # cat /boot/loader.conf  
vfs.root.mountfrom="ufs:vbd0s1d"
tmpfs_load="YES"
root at dev03:~ # mount /tmp 
root at dev03:~ #

root at dev03:~ # umount /tmp 
root at dev03:~ # mount /tmp 
tmpfs       2674M     0B  2674M     0q    /tmp
root at dev03:~ # df -hT /tmp
Filesystem  Type    Size   Used  Avail Capacity  Mounted on
tmpfs       tmpfs  2674M     0B  2674M     0q    /tmp
root at dev03:~ #  


</pre>

----------------------------------------
Bug #1808: tmpfs doesn't mount automatically after reboot
http://bugs.dragonflybsd.org/issues/1808#change-14269

* Author: charles.rapenne
* Status: Closed
* Priority: Normal
* Assignee: tuxillo
* Target version: 6.4
----------------------------------------
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 !



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list