https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082011-01-07T17:11:57ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #1954: installer creates /tmp/ as HAMMER pfs instead of tmpfshttps://bugs.dragonflybsd.org/issues/1954?journal_id=94752011-01-07T17:11:57Zalexh
<ul></ul><p>On 07/01/11 08:34, Peter Avalos (via DragonFly issue tracker) wrote:</p>
<blockquote>
<p>New submission from Peter Avalos <<a class="email" href="mailto:peter@theshell.com">peter@theshell.com</a>>:</p>
<p>Shouldn't we default to having /tmp/ as tmpfs instead of HAMMER?</p>
</blockquote>
<p>I don't think that's a good idea. If someone wants their /tmp as tmpfs,<br />then they can do so easily enough by changing the fstab entry.</p>
<p>The main reason against this is, imo, that tmpfs is a memory file<br />system and can hence be problematic on machines with limited RAM and/or<br />large files in the /tmp directory.</p>
<p>Regards,<br />Alex</p> DragonFlyBSD - Bug #1954: installer creates /tmp/ as HAMMER pfs instead of tmpfshttps://bugs.dragonflybsd.org/issues/1954?journal_id=105272012-01-21T14:06:42Zftigeot
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>Assignee</strong> deleted (<del><i>0</i></del>)</li></ul><p>Wouldn't that be a non-issue if the installer configures the machine with enough swap ?</p> DragonFlyBSD - Bug #1954: installer creates /tmp/ as HAMMER pfs instead of tmpfshttps://bugs.dragonflybsd.org/issues/1954?journal_id=105302012-01-21T19:05:52Zpavalos
<ul></ul><p>I think for new installations we should default to tmpfs, but maybe add some logic in there that detects low RAM/swap situations. This could be similar to the way we handle HAMMER installs. We don't want people to install a HAMMER fs if their disk is too small, which is comparable to the issue of having too little memory for tmpfs.</p> DragonFlyBSD - Bug #1954: installer creates /tmp/ as HAMMER pfs instead of tmpfshttps://bugs.dragonflybsd.org/issues/1954?journal_id=105332012-01-21T21:27:42Zftigeot
<ul></ul><p>This comes down to how much is too little memory ?</p>
<p>Looking at a few different machines, I see a typical /tmp uses only a few kilobytes.</p> DragonFlyBSD - Bug #1954: installer creates /tmp/ as HAMMER pfs instead of tmpfshttps://bugs.dragonflybsd.org/issues/1954?journal_id=143252022-05-31T22:55:02Ztuxillo
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>tuxillo</i></li></ul><p>As of <a class="changeset" title="installer - use a more modern mount setup for UFS and HAMMER. * Rewrite a large chunk of the dis..." href="https://bugs.dragonflybsd.org/projects/dragonfly/repository/dragonflybsd/revisions/f9602a12d5f0345feed0941d0b9e3b4e1816a411">f9602a12d5f0345feed0941d0b9e3b4e1816a411</a>, /tmp is tmpfs.</p>