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

Re: Debian 13, tmpfs and /tmp, /var/tmp



On 8/19/25 10:20 AM, fred.kite.dml@mailo.com wrote:

Indeed, /tmp is already on tmpfs. Isn't /var/tmp supposed to be as well now?

Is this tutorial still accurate?

<https://forums.debian.net/viewtopic.php?t=16450>

Thank you for your help!

Fred Kite


Le 19 août 2025 15:24:53 GMT+02:00, Thomas Southerland <tom.southerland@yahoo.com> a écrit :
On 8/19/25 6:33 AM, fred.kite.dml@mailo.com wrote:
Hello everyone, I have recently installed Debian 13 KDE Plasma, but due to the advanced installation needed to set up @ and @home sub-volumes in a btrfs partition, my /etc/fstab doesn't include the new tmpfs lines concerning /tmp and /var/tmp. Are these the correct directories? Are there others? Could you send me the new tmpfs lines in /etc/fstab? I don't want to improvise and mess up my system... Thank you! Fred Kite
This is not needed in the /etc/fstab as it should be handled by systemd. Check to see if it isn't already mounted. $ mount|grep /tmp tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=32875324k,nr_inodes=1048576,inode64) Check the system log: $ sudo journalctl -b0|grep /tmp Aug 19 05:08:36 tas systemd[1]: Mounting tmp.mount - Temporary Directory /tmp... Cheers, Tom

Historically, /var/tmp has never been mounted using tmpfs. The forum post referenced is from 2011 and was still using rc init scripts.

The script referenced was a user created script to accomplish the /var/tmp mount. 

As long as I can remember (SunOS 4.0), /var/tmp was always a regular file system.


Reply to: