You are not logged in.
Pages: 1
Hi everyone,
I partitioned the disk so as to have /var and /tmp separate,
but in the partition dedicated to tmp I also find /var/tmp is that correct?
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:1 0 500M 0 part /boot
├─nvme0n1p2 259:2 0 64G 0 part /
├─nvme0n1p3 259:3 0 12G 0 part /var
├─nvme0n1p4 259:4 0 8G 0 part /var/tmp
│ /tmp
└─nvme0n1p5 259:5 0 392.5G 0 part /homeSometimes when I reboot I see the watchdog message twice and other times I get the message on startup that it was unable to mount /tmp
Designing, testing and deploying secure smart contracts on eth network.
Offline
If i reckon correctly, /var/tmp is meant to be persistent across sessions/reboots thus it is stored on disk. Whereas /tmp is a volatile tmpfs on purpose nowadays for speed reasons.
https://wiki.archlinux.org/title/tmpfs#Usage
Last edited by Maniaxx (2022-05-25 08:12:58)
sys2064
Offline
Did you follow some random tutorial when installing?
By default /tmp is mounted as tmpfs (i.e. in RAM). Why would you want to have it as a physical partition?
/var/tmp should just be a directory in /var (albeit with a sticky bit set). Either systemd has some logic for detecting if /tmp is mounted as a physical partition and bind-mounts /var/tmp to /tmp if it is (?), or you set it manually to do so.
Please post contents of your /etc/fstab, and output of 'mount' command.
Offline
Pages: 1