[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Make /tmp/ a tmpfs and cleanup /var/tmp/ on a timer by default [was: Re: systemd: tmpfiles.d not cleaning /var/tmp by default]



In data lunedì 6 maggio 2024 17:41:40 CEST, Luca Boccassi ha scritto:
> On Mon, 6 May 2024 at 16:30, Simon Richter <sjr@debian.org> wrote:
> > Hi,
> > 
> > On 5/6/24 20:19, Luca Boccassi wrote:
> > > Is that the default layout, or a selectable option?
> > 
> > When you create a partition manually, it asks for the mount point, and
> > makes a number of suggestions in a dropdown, and /tmp is one of these.
> > 
> > There is also a "enter manually" option.
> > 
> > > If the latter, to me it makes sense to keep it, maybe with updated
> > > wording. Making things customizable is not really an issue, as long as
> > > it's clear what happens where.
> > 
> > The only wording there is "/tmp - Temporary files" or something like
> > that (has been a while since I saw that particular menu) -- it's an
> > option in a menu, so space is limited.
> > 
> > FWIW, I don't see much of a use case for leaving /tmp on the root
> > partition, so if no /tmp mount point is configured, mounting a tmpfs is
> > a good choice. Basically anything that can boot the installer has enough
> > RAM.
> 
> Found it:
> 
> https://salsa.debian.org/installer-team/partman-basicfilesystems/-/blob/mast
> er/debian/partman-basicfilesystems.templates?ref_type=heads#L97
> 
> So  unless someone has a better suggestion, I can change it from:
> 
> "/tmp - temporary files"
> 
> To something like:
> 
> "/tmp - temporary files (default: tmpfs)"

Have we agreed to default installs to tmpfs?

RAM on my machines has remained the same since the last time we had this 
discussion.

-- 
Salvo Tomaselli

"Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di
senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
                -- Galileo Galilei

https://ltworf.codeberg.page/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: