On 31. Jul 2020, at 15:33, H.Merijn Brand <linux@tux.freedom.nl> wrote:

On Fri, 10 Jul 2020 18:14:47 +0200, Thorsten Kukuk <kukuk@suse.de>
wrote:

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@opensuse.org> 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

Existing systems will not be impacted

For fresh installations /tmp will be tmpfs soon (Just some coordination needed to get all the changes out in a snapshot)

The documentation for how to either convert existing systems to the new way, or convert new systems to the old way, is here:

https://en.opensuse.org/openSUSE:Tmp_on_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.

 Thorsten

--
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.31      porting perl5 on HP-UX, AIX, and Linux
https://useplaintext.email  https://tux.nl  http://www.test-smoke.org
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/