https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082010-08-20T23:44:22ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #1808: tmpfs doesn't mount automatically after reboothttps://bugs.dragonflybsd.org/issues/1808?journal_id=87982010-08-20T23:44:22Zahuete.devel
<ul></ul><p>Hi Charles,</p>
<p>In your custom kernel config file, do you have a line that says?</p>
<p>options TMPFS</p>
<p>If so, you don't need to load the module to have tmpfs working. Make<br />sure you haven't specified two lines in fstab to mount /tmp.</p>
<p>I've just tested it in my box and it worked fine, it got mounted at boot time.</p>
<p>tmpfs 1.0G 0B 1.0G 0% /tmp2</p>
<p>Also, which DFBSD version are you using?</p>
<p>Cheers,<br />Antonio Huete</p> DragonFlyBSD - Bug #1808: tmpfs doesn't mount automatically after reboothttps://bugs.dragonflybsd.org/issues/1808?journal_id=87992010-08-21T02:11:27Zswildner
<ul></ul><p>On 8/20/2010 18:42, Antonio Huete Jimenez wrote:</p>
<blockquote>
<p>In your custom kernel config file, do you have a line that says?</p>
<p>options TMPFS</p>
<p>If so, you don't need to load the module to have tmpfs working. Make<br />sure you haven't specified two lines in fstab to mount /tmp.</p>
</blockquote>
<p>Even if neither module is loaded nor the option is in the config, mount <br />should load the module automatically.</p>
<p>Regards,<br />Sascha</p> DragonFlyBSD - Bug #1808: tmpfs doesn't mount automatically after reboothttps://bugs.dragonflybsd.org/issues/1808?journal_id=88002010-08-21T02:40:23Zcharles.rapenne
<ul></ul><p>Thanks you for your replies.</p>
<p>I removed the line "tmpfs_load="YES"" in /boot/loader.conf and it<br />fixed the problem.<br />In my kernel config file, the line options TMPFS was there, so I guess<br />the kernel<br />has some problem when you try to load a "built-in" module ?</p>
<p>I had only one line for /tmp in my fstab.</p>
<p>The DragonFly version I used was 2.7.3 but now I'm running the<br />developement version,<br />I had the bug since the 2.7.3.</p>
<p>2010/8/20 Antonio Huete Jimenez <<a class="email" href="mailto:ahuete.devel@gmail.com">ahuete.devel@gmail.com</a>>:</p>
<blockquote>
<p>Hi Charles,</p>
<p>In your custom kernel config file, do you have a line that says?</p>
<p>options TMPFS</p>
<p>If so, you don't need to load the module to have tmpfs working. Make<br />sure you haven't specified two lines in fstab to mount /tmp.</p>
<p>I've just tested it in my box and it worked fine, it got mounted at boot time.</p>
<p>tmpfs 1.0G 0B 1.0G 0% /tmp2</p>
<p>Also, which DFBSD version are you using?</p>
<p>Cheers,<br />Antonio Huete</p>
</blockquote> DragonFlyBSD - Bug #1808: tmpfs doesn't mount automatically after reboothttps://bugs.dragonflybsd.org/issues/1808?journal_id=142692022-05-15T17:56:27Ztuxillo
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/14269/diff?detail_id=3839">diff</a>)</li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> changed from <i>0</i> to <i>tuxillo</i></li></ul><p>Cannot reproduce:</p>
<pre>
root@dev03:~ # cat /boot/loader.conf
vfs.root.mountfrom="ufs:vbd0s1d"
tmpfs_load="YES"
root@dev03:~ # mount /tmp
root@dev03:~ #
root@dev03:~ # umount /tmp
root@dev03:~ # mount /tmp
tmpfs 2674M 0B 2674M 0q /tmp
root@dev03:~ # df -hT /tmp
Filesystem Type Size Used Avail Capacity Mounted on
tmpfs tmpfs 2674M 0B 2674M 0q /tmp
root@dev03:~ #
</pre>