Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: vallor Newsgroups: comp.os.linux.advocacy Subject: Re: Building Linux in /dev/shm Date: Mon, 22 Apr 2024 02:03:57 -0000 (UTC) Organization: A noiseless patient Spider Lines: 29 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 22 Apr 2024 04:03:57 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e9a9f5a8c67338e16410ca15abd7ed85"; logging-data="620652"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/emmak2BDpmUAZU4VyX6sS" User-Agent: Pan/0.158 (Avdiivka; 6a11104 gitlab.gnome.org/GNOME/pan.git; x86_64-pc-linux-gnu) Cancel-Lock: sha1:4t138pg63W21FpQmopS7/DOE3h8= X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9 wrote in : > On Fri, 19 Apr 2024 02:53:05 -0000 (UTC), vallor wrote: > >> On Thu, 18 Apr 2024 14:50:03 -0000 (UTC), candycanearter07 >> wrote in >> : >> >>> Isn't /tmp usually mounted as a ramdisk? >> >> Some distros might do that. Linux Mint doesn't, and I don't advise it. > > It’s your choice. Stuff in /tmp is not expected to have a long lifetime. > /var/tmp is for things you would like to last longer, but still aren’t > that fussed about. > > The whole point about temporary files is it’s not the end of the world > if they get deleted. ssh-agent's socket lives in a subdirectory in /tmp. Really should live in /run somewhere. Looks like it can be steered by changing the TMPDIR environment variable... On our companies user-access shell server, each user has their own /tmp in their own chroot. -- -v