Debian's /tmpest in a teapot
Debian's /tmpest in a teapot
Posted Jun 4, 2024 8:59 UTC (Tue) by dsommers (subscriber, #55274)In reply to: Debian's /tmpest in a teapot by mathstuf
Parent article: Debian's /tmpest in a teapot
Posted Jun 4, 2024 9:22 UTC (Tue)
by bluca (subscriber, #118303)
[Link] (10 responses)
Posted Jun 4, 2024 10:19 UTC (Tue)
by LtWorf (subscriber, #124958)
[Link] (9 responses)
[Citation needed]
As I said in another comment, downloading an .iso file was enough to kill my entire session.
I don't think that "downloading a file to then dd on a USB device and never use it again" is a rare thing among linux users.
Posted Jun 4, 2024 10:28 UTC (Tue)
by bluca (subscriber, #118303)
[Link] (8 responses)
Posted Jun 4, 2024 10:49 UTC (Tue)
by LtWorf (subscriber, #124958)
[Link] (7 responses)
Which is not automatically cleaned, which is why I didn't use it in that case.
> It's completely absurd to demand that defaults should adapt to your specific use case of downloading ISOs to /tmp.
It seems to me that the use case you have in mind is "do not write anything at all ever in /tmp". Do you have any source that it is the normal use case and I am indeed the only one person in the whole world that uses it?
Why not remove /tmp completely then?
Posted Jun 4, 2024 10:51 UTC (Tue)
by bluca (subscriber, #118303)
[Link] (6 responses)
You can trivially set up a tmpfiles.d in your home that cleans it, if you want that behaviour. Or you can use /var/tmp. The possibilities are endless.
> It seems to me that the use case you have in mind is "do not write anything at all ever in /tmp".
No, this is a strawman that you have just made up.
Posted Jun 4, 2024 15:34 UTC (Tue)
by Wol (subscriber, #4433)
[Link] (2 responses)
And so is the (mis)information on the net.
What you're forgetting, is that a lot of people just want to USE their computers. And trying to find information about eg tmpfiles.d is just a nightmare of ill-informed blogs and crap documentation.
I know pretty much the minimum I need to do to administer my personal home server. One of the reasons it runs gentoo is it was a personal choice that means I need to know more than most. But finding the information I need is usually search terms that don't find what I'm looking for, search engines that assume they know better than I do what I'm looking for so they ignore critical terms, as I said, ill-informed blogs, answers that didn't read the question, etc etc.
Just because the possibilities are endless doesn't mean they are within reach of mere mortals - all too often they've disappeared up the wazoo of the infinite impossibility search engine ...
Cheers,
Posted Jun 4, 2024 15:56 UTC (Tue)
by bluca (subscriber, #118303)
[Link] (1 responses)
Posted Jun 4, 2024 17:28 UTC (Tue)
by Wol (subscriber, #4433)
[Link]
As someone else said, things like attachments in emails are generally stored in temp (be it c:\temp or \tmp or yada yada) and the grief I get with "I edited an attachment and saved it, where have my changes gone?"
Some people learn, unfortunately some people CAN'T learn. What's that saying? "Every time man invents something idiot-proof, nature invents a better idiot".
I get people are upset that Debian is being dragged kicking and screaming into the 21st century, but it doesn't mean the 21st is any better than the 20th ...
Cheers,
Posted Jun 5, 2024 5:15 UTC (Wed)
by wtarreau (subscriber, #51152)
[Link] (2 responses)
> No, this is a strawman that you have just made up.
No need to be aggressive and condescending again Bluca.
I'm in the same situation with my home over NFS, I use /tmp *a lot*, for the same reasons. Where do I download LLMs ? Into /tmp. Where do I compile large stuff ? In /tmp as well, because it's fast (especially with SSDs these days). There are plenty of small use cases like this. I'm totally fine with uncommenting a line in /etc/fstab to preserve the old behavior though. But I think that during installation it would be reasonable to check the available RAM size and consider a size below which the user is asked whether they want /tmp as tmpfs or not, because running OOM on older systems that were once considered as "still good enough to run debian" will likely cast a bad image of that distro.
Posted Jun 5, 2024 9:16 UTC (Wed)
by bluca (subscriber, #118303)
[Link] (1 responses)
There is also no need to invent arguments that nobody made, and yet here we are
> I'm in the same situation with my home over NFS, I use /tmp *a lot*, for the same reasons.
NFS is not enabled by default either, so as part of your actions to setup NFS, you can also configure your tmp according to your needs
Posted Jun 5, 2024 13:37 UTC (Wed)
by edgewood (subscriber, #1123)
[Link]
Yes. But that's what he said 4 sentences after the one you quoted.
Debian's /tmpest in a teapot
Debian's /tmpest in a teapot
Debian's /tmpest in a teapot
Debian's /tmpest in a teapot
Debian's /tmpest in a teapot
Debian's /tmpest in a teapot
Wol
Debian's /tmpest in a teapot
Debian's /tmpest in a teapot
Wol
Debian's /tmpest in a teapot
Debian's /tmpest in a teapot
Debian's /tmpest in a teapot