On Mon, 4 Dec 2023 at 19:15, Axel Scheepers <axel.scheeper...@gmail.com> wrote:
>
> On Mon, Dec 4, 2023 at 6:58 PM Luca Boccassi <bl...@debian.org> wrote:
> > You have a separate, non-tmpfs filesystem on /tmp? How did you end up
> > with such a setup?
>
> Hi Luca,
>
> I always configure separate /var, /tmp and /home filesystems. In this case
> the system is also low on ram so tmpfs is not really an option (I think?).
> Is using tmpfs the preferred way to handle this on debian? Or maybe ext4
> as a filesystem is not preferred in this case?

I think the default is simply a directory in the rootfs in Debian -
the more common setup is to have a tmpfs on it.

But the main point is, it's fine if you do a custom local setup with
the appropriate local configuration, but then you also need to add the
appropriate config for tmpfiles.d. You can either mask or replace
tmp.conf, simply add your own file as /etc/tmpfiles.d/tmp.conf and it
will have priority, and do what you need for your custom local setup.

Reply via email to