Project

General

Profile

Actions

Bug #1954

closed

installer creates /tmp/ as HAMMER pfs instead of tmpfs

Added by pavalos almost 14 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Shouldn't we default to having /tmp/ as tmpfs instead of HAMMER?

Actions #1

Updated by alexh almost 14 years ago

On 07/01/11 08:34, Peter Avalos (via DragonFly issue tracker) wrote:

New submission from Peter Avalos <>:

Shouldn't we default to having /tmp/ as tmpfs instead of HAMMER?

I don't think that's a good idea. If someone wants their /tmp as tmpfs,
then they can do so easily enough by changing the fstab entry.

The main reason against this is, imo, that tmpfs is a memory file
system and can hence be problematic on machines with limited RAM and/or
large files in the /tmp directory.

Regards,
Alex

Actions #2

Updated by ftigeot almost 13 years ago

  • Status changed from New to Feedback
  • Assignee deleted (0)

Wouldn't that be a non-issue if the installer configures the machine with enough swap ?

Actions #3

Updated by pavalos almost 13 years ago

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.

Actions #4

Updated by ftigeot almost 13 years ago

This comes down to how much is too little memory ?

Looking at a few different machines, I see a typical /tmp uses only a few kilobytes.

Actions #5

Updated by tuxillo over 2 years ago

  • Status changed from Feedback to Closed
  • Assignee set to tuxillo
Actions

Also available in: Atom PDF