Re: Can/should I delete /tmp partition?
My system has 8 Gb of physical memory.
On a 256 Gb SSD, I have:
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
├─nvme0n1p2 259:2 0 23.3G 0 part /
├─nvme0n1p3 259:3 0 9.3G 0 part /var
├─nvme0n1p4 259:4 0 977M 0 part [SWAP]
├─nvme0n1p5 259:5 0 1.9G 0 part
└─nvme0n1p6 259:6 0 202.6G 0 part /home
In Debian 13, nvme0n1p5 is no longer auto-mounted
as /tmp.
Can I just:
1) shut down the system
2) boot from a Debian-Live usb drive
3) delete the nvme0n1p5 partition
4) "grow" nvme0n1p4 (the swap partition)
using the space freed up by deleting
nvme0n1p5
5) re-boot into the system
After that, there would be no /tmp partition,
and any /tmpfs stuff should be in memory only,
except using the swap partition when necessary.
BTW, here is my current /etc/fstab:
# <file system> <mount point> <type>
<options> <dump> <pass>
UUID=4fdd4399-6267-404a-a292-cdc7761df3c9 /
ext4 errors=remount-ro 0 1
UUID=26EE-0EF5 /boot/efi
vfat umask=0077 0 1
UUID=00f0c2db-0490-4354-b949-f9af11a7f001 /home
ext4 defaults 0 2
UUID=8bfeee23-9c09-45b7-a73e-bd2ff43e207c /var
ext4 defaults 0 2
UUID=e2a56ec3-99d4-4b40-9aa4-24975143cdc7 none swap
sw 0 0
???
Reply to: