Mailinglist Archive: opensuse-factory (435 mails)

< Previous Next >
Re: [opensuse-factory] Proposal: /tmp as tmpfs
On Fri, 10 Jul 2020 18:14:47 +0200, Thorsten Kukuk <kukuk@xxxxxxx>

On Fri, Jul 10, Andreas Jaeger wrote:

Richard, Merijn,

would switching to tmpfs be mandatory for everybody - or could
Merijin for his system opt-out of it?

Drop the second i, one will do :) Merijn, the salutation was ok

Looking at the discussion, might be worth to create a page with more
details on the implementation,

On btrfs: mksubvolume /tmp
On everything else: disable tmp.mount

In preparation on the upcoming changes as announced

Date: Fri, 31 Jul 2020 15:00:54 +0200
From: Dominique Leuenberger / DimStar <dimstar@xxxxxxxxxxxx> wrote:
Subject: [opensuse-factory] Tumbleweed - Review of the week 2020/31

* Change of /tmp to tmpfs

I checked

• Using btrfs? No
• Mounted? No

$ di /tmp/
Filesystem Mount Size Used Avail %Used fs Type
/dev/nvme0n1p6 / 220.7G 42.4G 178.3G 19% xfs

$ sudo systemctl disable tmp.mount
Unit /etc/systemd/system/tmp.mount is masked, ignoring.

Uh Oh, now I don't know what to do to prevent /tmp turning into tmpfs

This is always a one liner. So people who really don't want /tmp on
tmpfs can disable it easily during installation or afterwards with a
fresh installation. With btrfs in upgrade case, you have to edit /tmp
to enable /tmp on tmpfs. On other systems, disable tmp.mount.
That's all no big magic and no complex thing with many manual steps.


H.Merijn Brand Perl Monger
using perl5.00307 .. 5.31 porting perl5 on HP-UX, AIX, and Linux
< Previous Next >
This Thread
Follow Ups