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

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



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


Reply to: